(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽❤️🧑🏻 89...
What is JSON? Why use JSON? JSON Types? JSON Helpful Tools?
1. What is JSON? Why use JSON?
JSON Types? JSON Helpful
Tools?
2. What Is JSON
JSON is short for JavaScript Object Notation, is a data-interchange format. It’s used to store
information in an organized ways. JSON support numbers, Booleans, strings, null, arrays and
objects .
Its plain text file which supported by many programming languages. JSON is very useful for
JavaScript-based application like websites, SPA (Single Page Application).
JSON data can be loaded asynchronously easier and faster than XML.
Sample
{name:'John'}
Why Use JSON?
JSON is very light-weight then XML
JSON support by all platform and programming language
JSON is very easier to read than XML
Types of JSON
String - string is a sequence zero and more Unicode characters.
Example -
{ string : "value"}
Numbers - Its similar to Java and C number, but octal and hexadecimal are not allowed.
Example -
{ number : 5}
3. Boolean (True/False) - true or false
Example -
{ IsTest : true}
Null - empty
Example-
Null
Arrays - Its collection of values. Its start with [ (left brackets) and with ] (right bracket).
Values are separated by , (comma).
Example-
{
"state": ["Delhi", "Mumbai" ]
}
Objects/Documents - Object is an unordered set of name/ value pairs. Its start with {
(left brace) and end with } (right brace).
Example-
{
"id": "1001",
"name": "John"
}
4. Some useful tools to view and edit JSON
http://jsonviewer.stack.hu/
http://codebeautify.org/jsonviewer
http://www.jsoneditoronline.org/
http://json.parser.online.fr/
https://jsonformatter.curiousconcept.com/
http://visualizer.json2html.com/
https://jsonviewer.codeplex.com/
http://json2table.com/
Thanks
www.codeandyou.com
http://www.codeandyou.com/2015/10/what-is-json-
why-use-json-json-types-JSON-Helpful-Tools.html
Keywords - What is JSON? Why use JSON? JSON Types? JSON Helpful Tools.