Good Morning guys I'm getting JsonParsingException...
# serialization
s
Good Morning guys I'm getting JsonParsingException: Invalid JSON at 55: Expected string or non-null literal while parsing a json that has a field called data which can be null but it could also be a json-object with varying keys. So my idea was to parse it to a String but it seems that that is what's causing the issue. Any ideas on how to accomplish this?
m
Parse it to an object with all possible fields but make those fields optional.