Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    Have you Googled for a library to assist with converting from JSON to Java objects? You cannot be alone in wanting to do this. Commented Aug 24, 2012 at 8:38
  • Why can't you just use the HashMap instead? Commented Aug 24, 2012 at 8:38
  • What would be the benefit of using a HashMap @mercutio Commented Aug 24, 2012 at 9:01
  • @DuncanJones my problem is that I already have transfered JSON to Java, this is done automatically within JAX-RS. But at the point of retrieving the information I have no information about the later object. So having a Object that represents this LinkedHashmap is fine. Commented Aug 24, 2012 at 9:03
  • convertValue worked for me Commented Mar 23, 2022 at 21:15