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-example2.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-example2.json')
| -rw-r--r-- | tests/rfc-example2.json | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/rfc-example2.json b/tests/rfc-example2.json new file mode 100644 index 0000000..2a0cb68 --- /dev/null +++ b/tests/rfc-example2.json | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | [ | ||
| 2 | { | ||
| 3 | "precision": "zip", | ||
| 4 | "Latitude": 37.7668, | ||
| 5 | "Longitude": -122.3959, | ||
| 6 | "Address": "", | ||
| 7 | "City": "SAN FRANCISCO", | ||
| 8 | "State": "CA", | ||
| 9 | "Zip": "94107", | ||
| 10 | "Country": "US" | ||
| 11 | }, | ||
| 12 | { | ||
| 13 | "precision": "zip", | ||
| 14 | "Latitude": 37.371991, | ||
| 15 | "Longitude": -122.026020, | ||
| 16 | "Address": "", | ||
| 17 | "City": "SUNNYVALE", | ||
| 18 | "State": "CA", | ||
| 19 | "Zip": "94085", | ||
| 20 | "Country": "US" | ||
| 21 | } | ||
| 22 | ] | ||
