Java EE 7 includes support for JSR 353, which provides an API to parse, transform, and query JSON data using the object model or the streaming model
This API and upcoming JSON-B (Java API for JSON Binding, JEE 8, JSR 367) provides the processing/parsing and object-conversion to JSON and vice versa. JSON-P is similar to what JAXP does to XML and JSON-B is similar to JAXB in that sense.
Package javax.json provides API to process JSON. This package contains all interfaces except for one concrete factory class Json, so whatever you will do here, you will start with this class. JsonObject and JsonArray.
Package javax.json.stream similar to the Streaming API for XML (StAX) and designed to process large amounts of JSON data efficiently instead of loading the complete JSON tree in memory.
javax.json.spi used by vendors to provide the implementation for above two APIs. They do that by extending JsonProvider
JSON Processing project is the reference implementation for JSON Processing API.
Don't confuse JSON-P with another acronym which stands for JSON with Padding
Quick Example
In this example we will use, Maven 3.0,4, JDK 1.8, Json API 1.0 and the reference implementation jsonp 1.0.4
Create a maven project using maven-archetype-quickstart