Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all articles
Browse latest Browse all 12476

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

$
0
0

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.


Viewing all articles
Browse latest Browse all 12476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>