You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The EventData class which is defined in the Event object has a member object of type JsonObject which is a type defined by the com.google.gson library.
When I try to deserialize stored json into an Event object using a com.fasterxml.jacksonObjectMapper, errors are thrown because the object jsonString contains fields not explicitly defined by the JsonObject.
The object field of the EventData class should be of type Map<String, Object> or something similar... and anywhere else in the models where JsonObject is used, it should be replaced with the same solution
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The
EventData
class which is defined in theEvent
object has a memberobject
of typeJsonObject
which is a type defined by thecom.google.gson
library.When I try to deserialize stored json into an
Event
object using acom.fasterxml.jackson
ObjectMapper
, errors are thrown because the object jsonString contains fields not explicitly defined by theJsonObject
.https://github.com/stripe/stripe-java/blob/master/src/main/java/com/stripe/model/EventData.java#L28
Describe the solution you'd like
The
object
field of theEventData
class should be of typeMap<String, Object>
or something similar... and anywhere else in the models whereJsonObject
is used, it should be replaced with the same solutionDescribe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: