Java 6 json parsing [closed]

Tags: ,



I’ve been using org.json for all my parsing needs in the past but now I’m deploying to a websphere application server v 7.0.0.22 which runs java 6 and I’m seeing unsupported exceptions indicating the org.json library is not supported there. Are there any other good json parsing library’s that can be used with java version 6?

Answer

Jackson is good, but you can also use Google Gson :

https://github.com/google/gson



Source: stackoverflow