JSON
What is JSON?
- JSON stands for JavaScript Object Notation.
- JSON is a syntax for storing and exchanging data.
- JSON is text, written with JavaScript object notation.
- JSON is "self-describing" and easy to understand.
- JSON is language independent *
JSON syntaxs
- Data is in name/value pairs.
- Data is separated by commas.
- Curly braces hold objects.
- Square brackets hold arrays.
JSON Data
JSON data is written as name and value pairs.
Name and value pair consists of a field name in double quotes, followed by a colon, followed by a value:
"name":"janusha"
JSON Files
The file type for JSON files is ".json".
No comments:
Post a Comment