File: example.json

package info (click to toggle)
node-jju 1.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 640 kB
  • sloc: javascript: 5,244; makefile: 15
file content (20 lines) | stat: -rw-r--r-- 478 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 *  This is an example of commented JSON (CJSON) file
 *
 *  Source: https://en.wikipedia.org/wiki/JSON
 */
{ "firstName": "John",
  "lastName": "Smith",
  "age": 25,

  // this is an address
  "address":
   { "streetAddress": "21 2nd Street",
     "city": "New York",
     "state": "NY",
     "postalCode": 10021 },

  // these are phone numbers (duh)
  "phoneNumbers":
   [ { "type": "home", "number": "212 555-1234" },
     { "type": "fax", "number": "646 555-4567" } ] }