kb:json

Differences

This shows you the differences between two versions of the page.


kb:json [2022/08/10 06:33] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== JSON ======
 +
 +JavaScript Object Notation (JSON) 
 +  * http://www.json.org/
 +
 +{{wp>JSON}}
 +<callout type="" title="GitHub Topics" icon="fa fa-github">
 +  * https://github.com/topics/json
 +
 +JSON (JavaScript Object Notation) is a standard file format that uses text to communicate data objects to array data types. This notation makes it easy for applications to parse and generate files. JSON grew out of the need to have a real-time server-to-web browser communication.
 +</callout> 
 +
 +Example
 +
 +<sxh json>
 +{
 +  "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"
 +    },
 +    {
 +      "type": "mobile",
 +      "number": "123 456-7890"
 +    }
 +  ],
 +  "children": [],
 +  "spouse": null
 +}
 +</sxh>
 +
 +Links:
 +  * https://jsonformatter.org
 +  * 
 +
 +
 +
 +{{tag>kb  architecture programming   devopscreate     }}
  
  • kb/json.txt
  • Last modified: 2022/08/10 06:33
  • by 127.0.0.1