code: static StripeObject deserializeStripeObject(JsonObject eventDataObjectJson) {
      String type = eventDataObjectJson.getAsJsonObject().get("object").getAsString();
      Class<? extends StripeObject> cl = EventDataClassLookup.findClass(type);
      return ApiResource.GSON.fromJson(
          eventDataObjectJson, cl != null ? cl : StripeRawJsonObject.class);
    }
docs: Deserialize JSON into super class {@code StripeObject} where the underlying concrete class
  corresponds to type specified in root-level {@code object} field of the JSON input.
  
  <p>Note that the expected JSON input is data at the {@code object} value, as a sibling to
  {@code previousAttributes}, and not the discriminator field containing a string.
  @return JSON data to be deserialized to super class {@code StripeObject}