summaryrefslogtreecommitdiff
path: root/tests/example2.json
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2011-05-03 23:04:22 +0930
committerMark Pulford <mark@kyne.com.au>2011-05-03 23:04:22 +0930
commit4146070e69475d5eedcf7a9e3d990e511f46ec7a (patch)
tree5e6bfa66ee9a1fc4ac4125f349c55a3d7c551e35 /tests/example2.json
parentce3a769dbdd13571b5b761d933e17e8fe5771739 (diff)
downloadlua-cjson-4146070e69475d5eedcf7a9e3d990e511f46ec7a.tar.gz
lua-cjson-4146070e69475d5eedcf7a9e3d990e511f46ec7a.tar.bz2
lua-cjson-4146070e69475d5eedcf7a9e3d990e511f46ec7a.zip
Add basic JSON tests and benchmark
Diffstat (limited to 'tests/example2.json')
-rw-r--r--tests/example2.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/example2.json b/tests/example2.json
new file mode 100644
index 0000000..5600991
--- /dev/null
+++ b/tests/example2.json
@@ -0,0 +1,11 @@
1{"menu": {
2 "id": "file",
3 "value": "File",
4 "popup": {
5 "menuitem": [
6 {"value": "New", "onclick": "CreateNewDoc()"},
7 {"value": "Open", "onclick": "OpenDoc()"},
8 {"value": "Close", "onclick": "CloseDoc()"}
9 ]
10 }
11}}