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
In case json root may not be an object but a list or map, currently (de)serialize function only access model schema, makes it hard to handle list or map structures.
The text was updated successfully, but these errors were encountered:
deserialization for maps should actually work, since they are represented as objects.
for arrays as root elements in the JSON it is not supported currently, since the root target object is expected to be a class.
I've renamed the issue - we should keep it on the backlog.
However, since the workaround is rather simple by just wrapping the property in an object this will probably not be implemented anytime soon
The deserialize code indeed supports array deserialization.
But there is a problem. I have a situation where there are circular references between root items of the array leading to errors during deserialization:
In case json root may not be an object but a list or map, currently (de)serialize function only access model schema, makes it hard to handle list or map structures.
The text was updated successfully, but these errors were encountered: