You want to read and/or write JSON using a full-function JSON API.
Use Jackson, the full-blown JSON API.
You want to read/write JSON using a midsized, widely used JSON API.
Consider using the org.json
API , also known as JSON-Java; it’s widely used and is also used in Android.
You want to read/write JSON using a midsized, standards-conforming JSON API.
Consider using JSON-B, the new Java standard (JSR-367).
You have a JSON document and want to extract only selected values from it.
Use javax.json
’s implementation of JSON Pointer, the standard API for extracting selected elements from JSON.