I'm using Resteasy 2.0.1.GA and Resteasy-jettison-provider-1.2.GA with JAXB annontations and whenever I have a String property that contains all numbers (i.e. String groupName="1111";), the JSON response will display it as a ...
this is my first post
I want to convert my pojo to json with JAXB, my pojo have one to many relation, and when i convert my pojo to json, JAXB generate ...
I'm using Resteasy 2.0.1.GA and thusly Resteasy-jettison-provider-1.2.GA and whenever I have a String property that contains all numbers (i.e. String test="1111";), the JSON response will display it as a number by ...
I'm using JAXB to serialize my objects to JSON.
My problem is that the generated JSON does not have the 'ROOT' element.
Here is the code for one of my classes:
I am developing a project that already uses XML serialization, so I need an elegant solution to support JSON, by reusing the JAXB annotations.
Can anyone recommend some Java JSON libraries that ...