summaryrefslogtreecommitdiff
path: root/tests/example1.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/example1.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/example1.json')
-rw-r--r--tests/example1.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/example1.json b/tests/example1.json
new file mode 100644
index 0000000..53ec437
--- /dev/null
+++ b/tests/example1.json
@@ -0,0 +1,24 @@
1{
2 "glossary": {
3 "title": "example glossary",
4 "GlossDiv": {
5 "title": "S",
6 "GlossList": {
7 "GlossEntry": {
8 "ID": "SGML",
9 "SortAs": "SGML",
10 "GlossTerm": "Standard Generalized Mark
11up Language",
12 "Acronym": "SGML",
13 "Abbrev": "ISO 8879:1986",
14 "GlossDef": {
15 "para": "A meta-markup language, used to create markup
16languages such as DocBook.",
17 "GlossSeeAlso": ["GML", "XML"]
18 },
19 "GlossSee": "markup"
20 }
21 }
22 }
23 }
24}