Sunday, November 24, 2013

Introduction to JSON

What is JSON

Json Stands JavaScript Object Notation.

JSON is a lightweight text-based open standard data-interchange format.

JSON files are saved with .json extension. Internet media type of JSON is "application/json".

JSON is derived from a subset of JavaScript programming language (Standard ECMA-262 3rd Edition—December 1999).

It is entirely language independent and can be used with most of the modern programming

Similaries between XML & JSON

No end tag like XML
Shorter than XML
Quicker to read and write when compare to XML
Can be parsed using built-in JavaScript functions like eval() and parse()
Uses arrays – Efficient for handling huge data
No reserved words

Data Types in JSON
JSON supports following datatypes:



JSON Syntax


=====================

No comments:

Post a Comment

Thank you for visiting my blog

Kubernetes

Prerequisites We assume anyone who wants to understand Kubernetes should have an understating of how the Docker works, how the Docker images...