Difference between revisions of "JSON"

From Open Risk Manual
(Created page with "== Definition == '''JSON''' (JavaScript Object Notation) is an open standard file format and data interchange format that uses human-readable text to store and transmit data o...")
 
 
Line 37: Line 37:
 
== References ==
 
== References ==
 
<references/>
 
<references/>
* [[wikipedia:Mind map | Mind Map @ Wikipedia]]
+
* [[wikipedia:JSON | JSON @ Wikipedia]]
 
* [https://plantuml.com/guide PlantUML Language Reference Guide]
 
* [https://plantuml.com/guide PlantUML Language Reference Guide]
  
 
[[Category:Risk Data]]
 
[[Category:Risk Data]]
 
[[Category:PlantUML]]
 
[[Category:PlantUML]]

Latest revision as of 14:24, 18 February 2022

Definition

JSON (JavaScript Object Notation) is an open standard file format and data interchange format that uses human-readable text to store and transmit data objects consisting of attribute-value pairs and arrays (or other serializable values).

It is a common data format with diverse uses in electronic data interchange, including that of web applications with servers.

Example

{
  "firstName": "John",
  "lastName": "Smith",
  "isAlive": true,
  "age": 27,
  "address": {
    "streetAddress": "21 2nd Street",
    "city": "New York",
    "state": "NY",
    "postalCode": "10021-3100"
  },
  "phoneNumbers": [
    {
      "type": "home",
      "number": "212 555-1234"
    },
    {
      "type": "office",
      "number": "646 555-4567"
    }
  ],
  "children": [],
  "spouse": null
}

JSON Object

References