diff options
author | Mark Pulford <mark@kyne.com.au> | 2011-05-03 23:04:22 +0930 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2011-05-03 23:04:22 +0930 |
commit | 4146070e69475d5eedcf7a9e3d990e511f46ec7a (patch) | |
tree | 5e6bfa66ee9a1fc4ac4125f349c55a3d7c551e35 /tests/rfc-example1.json | |
parent | ce3a769dbdd13571b5b761d933e17e8fe5771739 (diff) | |
download | lua-cjson-4146070e69475d5eedcf7a9e3d990e511f46ec7a.tar.gz lua-cjson-4146070e69475d5eedcf7a9e3d990e511f46ec7a.tar.bz2 lua-cjson-4146070e69475d5eedcf7a9e3d990e511f46ec7a.zip |
Add basic JSON tests and benchmark
Diffstat (limited to 'tests/rfc-example1.json')
-rw-r--r-- | tests/rfc-example1.json | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/rfc-example1.json b/tests/rfc-example1.json new file mode 100644 index 0000000..73532fa --- /dev/null +++ b/tests/rfc-example1.json | |||
@@ -0,0 +1,13 @@ | |||
1 | { | ||
2 | "Image": { | ||
3 | "Width": 800, | ||
4 | "Height": 600, | ||
5 | "Title": "View from 15th Floor", | ||
6 | "Thumbnail": { | ||
7 | "Url": "http://www.example.com/image/481989943", | ||
8 | "Height": 125, | ||
9 | "Width": "100" | ||
10 | }, | ||
11 | "IDs": [116, 943, 234, 38793] | ||
12 | } | ||
13 | } | ||