summaryrefslogtreecommitdiffhomepage
path: root/learnjson.json
diff options
context:
space:
mode:
Diffstat (limited to 'learnjson.json')
-rw-r--r--learnjson.json32
1 files changed, 32 insertions, 0 deletions
diff --git a/learnjson.json b/learnjson.json
new file mode 100644
index 00000000..b3f8c30c
--- /dev/null
+++ b/learnjson.json
@@ -0,0 +1,32 @@
+{
+ "numbers": 0,
+ "strings": "Hellø, wørld. All unicode is allowed, along with \"escaping\".",
+ "has bools?": true,
+ "nothingness": null,
+
+ "big number": 1.2e+100,
+
+ "objects": {
+ "comment": "Most of your structure will come from objects.",
+
+ "array": [0, 1, 2, 3, "Arrays can have anything in them.", 5],
+
+ "another object": {
+ "comment": "These things can be nested, very useful."
+ }
+ },
+
+ "silliness": [
+ {
+ "sources of potassium": ["bananas"]
+ },
+ [
+ [1, 0, 0, 0],
+ [0, 1, 0, 0],
+ [0, 0, 1, "neo"],
+ [0, 0, 0, 1]
+ ]
+ ],
+
+ "that was short": "And, you're done. You know know everything JSON has to offer."
+}