1. How do I marshal nested lists as JSON using Jersey? I get an array of nulls or an array of one-element dictionaries containing an array stackoverflow.comI'm working on a project which uses Jersey to convert objects to JSON. I'd like to be able to write out nested lists, like so:
The object ... |
2. Binding a JSON to a Java class using JAXB stackoverflow.comI have the following JSON, where can be either true or false:
And I have tried to bind it to a Java class using Jersey and the following ... |
3. Jersey / JAXB: Unmarshaling of empty json array results in a list with one item where all fields are set to null stackoverflow.comI have a really simple rest web service returning a list of questions. This code works as expected when the number of questions returned are greater than zero. But if the ... |
4. Binding a Generic Java Class to a JSON using JAXB stackoverflow.comI have the following java class
|
5. RESTful 1-N optional relationships stackoverflow.comI trying to learn how to write RESTful apps in Java using Jersey and Hibernate, and I'm struggling to understand how to handle parent/child type relationships when POSTing data to a Resource. I'm ... |
6. Jersey @Provider not recognized stackoverflow.comWe are using a Jersey JAXBContext resolver implementation using @Provider. It appears that Jersey is not recognizing the @Provider class - the code is never being executed. ... |
7. Jersey JSON marshalling of empty lists stackoverflow.comWe have a Java List of objects which is marshalled via JSON which is created by Jersey. The List is called "rows". When there is data we have:
When there is no ... |
8. JAXB JSON force brackets on arrays stackoverflow.com
|
9. Could not find JAXBContextFinder for media type: application/json stackoverflow.comI have a problem with development resteay+ejb+json. Using Jboss-5.1.0.GA. I get example from resteasy-jaxrs and adapted to use for my case. Added jars(this ask me jboss. in other case catch exception ... |
10. Error passing single element JSON array in Jersey 1.5 stackoverflow.comI have a Books class with ArrayList of BookMeta objects , the name of the arraylist is bookList. If the bookList holds more than one BookMeta, it works good for the clients ... |
11. How does JAXB to JSON (and vice versa) work using Jersey? stackoverflow.comI have successfully implemented a restful service that works with my own client. Now, I wish to make it a service that other clients can also interact with it. In this ... |
12. jersey (+ jackson) map field serialization stackoverflow.comi have a simple jersey web service and i'd like to consume / produce objects that contain map fields, like
if this string goes into the web service,
|
13. Consume JSON Object in PUT Restful Service stackoverflow.comI'm trying to implement a RESTful Service in Java that receives a JSON Object through a PUT request and automatically maps into a Java Object. I managed to do this in ... |
14. Java.util.Map to JSON Object with Jersey / JAXB / Jackson stackoverflow.comI've been trying to create a Jersey REST Webservice. I want to receive and emit JSON objects from Java classes like the following:
|
15. how to use some indirection when unmarshalling json to java bean using Jersey using jaxb annotations stackoverflow.comI'm trying to unmarshall some received json (from Jira restful web service). Problem is: an "issue" has a "summary" property and a list of fields. Summary is not present as an attribute ... |
16. JSON Jersey JAXB stackoverflow.comI cant seem to post JSON to my webservice but XML works fine:
|
17. How to configure json format when using jaxb annotations with jersey stackoverflow.comI am using jersey to expose a service which uses jaxb annotated classes to configure the look of the json. I am trying to include the type directive in each json element. ... |
18. Error when trying to convert JSON to POJO using Jersey stackoverflow.comI'm doing this :
|
19. Unmarshal JAXB-Annotated Classes from JSON using Jersey and Jackson stackoverflow.comI have a class that has JAXB and bean validation annotations, much like the following:
|
20. JSON serialization in Jersey - How to ignore XmlJavaTypeAdapter for serializing a map? stackoverflow.comIn my Jersey-based REST webservice I need to provide xml and json output. The class Result has a map, annotated with XmlJavaTypeAdapter to correctly serialize it to xml.
|
21. Marshalling an empty collection to json using jersey stackoverflow.comI have a strange issue marshalling an empty object collection to json using jersey with the jaxb based json support. My object looks like
Marshaling ... |
22. jersey JAXB JSON single-element array forums.netbeans.orgHi, I'm using GlassFish V2 with jersey 1.0 and JAXB. I have RESTful Web Service which expose several resources. I'm using container-item pattern. My problem is that when the container converter ... |