Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpx/lua-cjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2011-05-03 17:34:22 +0400
committerMark Pulford <mark@kyne.com.au>2011-05-03 17:34:22 +0400
commit4146070e69475d5eedcf7a9e3d990e511f46ec7a (patch)
tree5e6bfa66ee9a1fc4ac4125f349c55a3d7c551e35 /tests/example1.json
parentce3a769dbdd13571b5b761d933e17e8fe5771739 (diff)
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 @@
+{
+ "glossary": {
+ "title": "example glossary",
+ "GlossDiv": {
+ "title": "S",
+ "GlossList": {
+ "GlossEntry": {
+ "ID": "SGML",
+ "SortAs": "SGML",
+ "GlossTerm": "Standard Generalized Mark
+up Language",
+ "Acronym": "SGML",
+ "Abbrev": "ISO 8879:1986",
+ "GlossDef": {
+ "para": "A meta-markup language, used to create markup
+languages such as DocBook.",
+ "GlossSeeAlso": ["GML", "XML"]
+ },
+ "GlossSee": "markup"
+ }
+ }
+ }
+ }
+}