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
joelittlejohn
changed the title
POJO type is Object when JSON type is an array with ["string", "null"]
Allow nullable type (instead of Object) when JSON type is an array with ["string", "null"]
Aug 3, 2015
The JSON schema I'm using has a number of fields that are explicitly "nullable" like so:
When the POJO is created, this field will be of type
Object
, intsead ofString
.Ideally, if type is an array of size 2, and the second type is null the first type should be used for the POJO.
The text was updated successfully, but these errors were encountered: