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
I'm trying to deserialize a json array of objects, but all the documentation only has single objects. I expect ObjectMapper actually does support this, but until you guys document it, I don't have any way to know how to get it to work. I'm probably going to have to go digging in the source again to get this figured out. I'm using Kotlin, but I expect this is a common use case even from the Java side.
Here's an example of what I'm trying to do:
val foo = objectMapper.readValue(someJson, List<Book>)
Actual Behaviour
This should be supported and documented.
Steps To Reproduce
No response
Environment Information
No response
Example Application
No response
Version
4.7.4
The text was updated successfully, but these errors were encountered:
Thanks, that works! Now for the docs, you guys have put in a lot of work in to build a nice serialization library, it would be a shame if people don't use it because they don't know how. Could we please get one of the maintainers to document their work? It wouldn't take them long, and it would actually save you guys time in the long run because you wouldn't have to answer basic questions like this one. I like Micronaut a lot, but there are a lot of basic things missing in the docs, and I'm always having to go waste hours searching through stack overflow or reading the source to figure out how to do stuff. If you guys are going to invest all the time to develop nice features, I would just request that you spend the extra 5% of the time to document the hard work you've put in.
Expected Behavior
I'm trying to deserialize a json array of objects, but all the documentation only has single objects. I expect ObjectMapper actually does support this, but until you guys document it, I don't have any way to know how to get it to work. I'm probably going to have to go digging in the source again to get this figured out. I'm using Kotlin, but I expect this is a common use case even from the Java side.
Here's an example of what I'm trying to do:
Actual Behaviour
This should be supported and documented.
Steps To Reproduce
No response
Environment Information
No response
Example Application
No response
Version
4.7.4
The text was updated successfully, but these errors were encountered: