public class ConfigurationEntity{
    JSONObject config;
}

example contents of config

   1. 

{"collection":["www.google.com"]
}


   1. 

{"collection":[{
            "url":"www.google.com"
      }]
}

serializing ConfigurationEntity

sometimes will result config with object collection serialize to string

{"collection":[ "{\"url\":\"www.google.com\"}" ]
}

instead of an object.

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to