Hi,
We have a method in the resource that accepts both JSON and XML as input as
follows -
        @Consumes({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
        @Produces(MediaType.APPLICATION_XML)
        public Response createFolder(Objects objFolder)
        {
         ....
         }
I am able to get the corresponding JAXB instance when an XML is passed as
input. However, the instance is null when we pass a JSON. Not sure whats the
problem. 
TIA,
Emile
-- 
View this message in context: http://n2.nabble.com/JSON-JAXB-unmarshalling-tp4852764p4852764.html
Sent from the Jersey mailing list archive at Nabble.com.