Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Folder full of pertinent coursework

1666 views
1
{
2
"key": "value",
3
4
"keys": "must always be enclosed in double quotes",
5
"comment": "JSON is a structured, language-independent data format",
6
"comment": "JSON has no comment support by default",
7
"origin": "This example was borrowed from http://learnxinyminutes.com/docs/json/",
8
9
"numbers": 0,
10
"strings": "Hellø, wørld. All unicode is allowed, along with \"escaping\".",
11
"has bools?": true,
12
"nothingness": null,
13
14
"big number": 1.2e+100,
15
16
"objects": {
17
"comment": "Most of your structure will come from objects.",
18
19
"array": [0, 1, 2, 3, "Arrays can have anything in them.", 5],
20
21
"another object": {
22
"comment": "These things can be nested, very useful."
23
}
24
},
25
26
"silliness": [
27
{
28
"sources of potassium": ["bananas"]
29
},
30
[
31
[1, 0, 0, 0],
32
[0, 1, 0, 0],
33
[0, 0, 1, "neo"],
34
[0, 0, 0, 1]
35
]
36
],
37
38
"alternative style": {
39
"comment": "check this out!"
40
, "comma position": "doesn't matter - as long as its before the value, then its valid"
41
, "another comment": "how nice"
42
},
43
44
"that was short": "And, you're done. You now know everything JSON has to offer."
45
}
46
47