3 Replies Latest reply on Jun 27, 2013 1:44 AM by PuzanovsP

    Parse json data from inputstream using org.apache.sling.commons.json library

    vsharm3

      I had two options to receive the input stream data either xml or json. I decided to go to the json route.

       

      I am getting complex input data from an API in the json format. Can someone tell me how do I parse this data using the sling API org.apache.sling.commons.json? A sample java code will be great. I tried the GSON but because my data is complex it is not helping me. Any help will be great.