Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
src/main
README.adoc
pom.xml

README.adoc

jsonp: JSON-P Object-based JSON generation and Stream-based JSON consuming

The jsonp quickstart demonstrates how to use the JSON-P API to produce object-based structures and then parse and consume them as stream-based JSON strings.

What is it?

The jsonp quickstart creates a JSON string through object-based JSON generation and then parses and consumes it using stream-based JSON.

It shows how to use the JSON-P API to generate, parse, and consume JSON files.

Access the Application

Access the running application in a browser at the following URL: http://localhost:8080/{artifactId}/

  1. You are presented with a simple form that is pre-filled with personal data. You can change those values if you prefer.

  2. Click on the Generate JSON String from Personal Data button. The text area below the button presents a JSON string representing the data and values from the completed form.

    Note that the JSON string contains String, number, boolean and array values.

  3. Now, click on the Parse JSON String using Stream button. The text area below the button shows the events generated from the parsed JSON string.