-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested maps are deserialized as java maps #109
Comments
This is expected behavior. By default, all JSON objects are deserialized to You can try using new TypeReference<List<Map<String, Map<String,String>>>>() {} instead of new TypeReference<List<Map<String, Object>>>() {} (unfortunately your example will fail because |
I understand that there is, probably, some technical limitation from the jackson side, but this issue automatically breaks #75 |
Up to now I have no idea about how that issue should be fixed. Maybe tests will be produced without nested cases only... |
Hi @ruslansennov, do you have any updates on this? |
@bduisenov, no, not really :-/ |
You might find this Stackoverflow answer useful. |
Hi, It looks like that it's impossible right now to deserialize a JSON as vavr map tree, because only top level elements are deserialized as javaslang collections, deeper levels are java containers:
The text was updated successfully, but these errors were encountered: