JSON processing is not supported out of the box in Java. One would have to make use of 3rd part libraries to enable JSON processing. But with JSR 353 and its reference implementation JSON processing is being brought into the Java language. JavaEE 7 has already included the reference implementation.
I wrote a series of articles explaining how to parse and create JSON data using the JSR 353 implementation:
- Creating JSON Data Using The Java JSON API (JSR 353)
- JSON Processing in JavaEE 7- Using Object Model API
- JSON Processing in JavaEE 7- Using Streaming API