Friday Jul 19, 2013

Java API for JSON Processing: An Introduction to JSON

A new article, now up on otn/java, by Oracle’s Jitandra Kotamraju, titled “Java API for JSON Processing: An Introduction to JSON,” takes a look at how Java API for JSON Processing provides portable APIs to parse, generate, transform and query JSON, also known as JavaScript Object Notation. Kotamraju, a principal member of the technical staff at Oracle, is the JSON Processing specification lead.

JSO, a lightweight, text-based, language-independent data exchange format that is easy to read and write by both humans and machines, can represent two structured types: objects and arrays. Kotamraju, the JSON Processing specification lead, explains that “an object is an unordered collection of zero or more name/value pairs. An array is an ordered sequence of zero or more values. The values can be strings, numbers, booleans, null and these two structured types.”

JSON is frequently used in Ajax applications, configurations, databases, and RESTful web services. JSON is offered as the data exchange format with their RESTful web services by all popular websites.

Kotamraju gets under the hood with both the object model and streaming APIs. He concludes that the API for JSON Processing offers the following capabilities:
* “Parsing input streams into immutable objects or event streams
* Writing event streams or immutable objects to output streams
* Programmatically navigating immutable objects
* Programmatically building immutable objects with builders”

The API forms a base for building data binding, transformation, querying, or other manipulation APIs. JAX-RS 2.0 provides native integration for the Java API for JSON Processing.

Check out the article here.

The 2013 Java Theme Community Challenge

Launching today!
Name the "Community Keynote" at JavaOne this year by submitting a crazy, fancy, funny, geeky slogan about what you LOVE about Java! Find 140 characters (not a coincidence) to describe your personal connection with the world's most pervasive programming language and share it with us.

The Challenge is open to individuals or organizations. 10 of the most outstanding submissions will be selected by a combined committee from SouJava, LJC and iJUG e.V. and Oracle. Those 10 enter a public community voting round at  java.net for 10 days. The winning entry will be announced on the website shortly thereafter. The winner will receive a full conference pass to 2013 JavaOne San Francisco.

More details in the Official Rules

The Duke's Choice Awards Nominations Close Monday

duke's choice awards 2013

The Duke's Choice Award program is open to all members of the Java community and nominations are accepted by anyone, including Oracle employees, for any compelling use of Java technology. The most important ingredient is innovation. Let's recognize and celebrate the innovation that Java delivers!

Winners will be notified at least one month prior to JavaOne in mid-August and announced in the September issue of Java Magazine and on stage at JavaOne in San Francisco. They will receive a free JavaOne full conference pass and a Duke Award Statue. It's easy, just submit nominations online.

Deadline for submission is Monday July 22th, 2013 5pm PST.

About

Insider News from the Java Team at Oracle!

duke
javeone logo
Links


Search

Archives
« July 2013 »
SunMonTueWedThuFriSat
 
1
4
5
6
7
10
12
13
14
18
20
21
25
26
27
28
29
30
31
   
       
Today