JAVA EXAMPLE PROGRAMS

JAVA EXAMPLE PROGRAMS

Publish Your Article Here

Java API for JSON Processing - javax.json package

JavaScript Object Notation (JSON) is text-based data exchange format derived from Javascript, and is primarily used for transmitting structured data over the network.

JSR 353 addresses the standard Java API for JSON processing and shipped as part of JEE 7. JEE provides 2 different types of API for JSON processing.

1) Object Model API
2) Streaming API

In this article we have given examples on javax.json package to play with Json data.

Java API for JSON processing examples

  1. How to read Json data using JsonReader?
  2. How to read Json array data using JsonArray?
  3. How to create Json Object using Object Model?
  4. How to create Json Array using Object Model?
  5. How to create Json Object using Streaming Model API?
  6. How to create Json Array using Streaming Model API?
Knowledge Centre
Domain Naming Service(DNS)
It is very difficult to remember a set of numbers (IP address) to connect to the Internet. The Domain Naming Service(DNS) is used to overcome this problem. It maps one particular IP address to a string of characters. For example, www.java2novice.com implies com is the domain name reserved for US commercial sites, java2novice is the name of the company and www is the name of the specific computer, which is java2novice's server.
Famous Quotations
I respect faith, but doubt is what gets you an education.
-- Wilson Mizner

About Author

Most Visited Pages

Other Interesting Sites

Reference: Java™ Platform Standard Ed. 7 - API Specification | Java is registered trademark of Oracle.
Privacy Policy | Copyright © 2017 by Nataraja Gootooru. All Rights Reserved.