Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Java EE 7 First Look

You're reading from   Java EE 7 First Look Discover the new features of Java EE 7 and learn to put them together to build a large-scale application

Arrow left icon
Product type Paperback
Published in Nov 2013
Publisher Packt
ISBN-13 9781849699235
Length 188 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Armel Fabrice NDJOBO Armel Fabrice NDJOBO
Author Profile Icon Armel Fabrice NDJOBO
Armel Fabrice NDJOBO
Arrow right icon
View More author details
Toc

Java API for JSON Processing 1.0


The Java API for JSON Processing 1.0 was developed under JSR 353. This section gives you only an overview of the API. The complete document specification (for more information) can be downloaded from http://jcp.org/aboutJava/communityprocess/final/jsr353/index.html.

What is JSON?

JavaScript Object Notation (JSON) is a lightweight data-interchange text format. It is based on a subset of JavaScript, but it is completely language independent. JSON format is often used for data exchanges between web client and web server or web service. But, it can be used whenever you need to store or transmit relatively small amounts of data that can easily be represented as a combination of name-value pairs.

JSON is built on two structures, which are: a collection of name-value pairs and an ordered list of values. These structures are made from three data types: object, array, and value.

Object

An object is an unordered set of name:value pairs within braces ({}). After each name...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image