aboutsummaryrefslogtreecommitdiff
path: root/src/test/valid/arrays-hetergeneous.json
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-06-20 17:01:38 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-06-20 17:01:38 -0700
commit11115f13a3499420cd09b745a298ef071755b24b (patch)
treeea24118086e8a1f814c4cd9b2f617c93fe107754 /src/test/valid/arrays-hetergeneous.json
downloadmilf-rs-11115f13a3499420cd09b745a298ef071755b24b.tar.gz
milf-rs-11115f13a3499420cd09b745a298ef071755b24b.zip
Initial commit
Diffstat (limited to 'src/test/valid/arrays-hetergeneous.json')
-rw-r--r--src/test/valid/arrays-hetergeneous.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/test/valid/arrays-hetergeneous.json b/src/test/valid/arrays-hetergeneous.json
new file mode 100644
index 0000000..e703739
--- /dev/null
+++ b/src/test/valid/arrays-hetergeneous.json
@@ -0,0 +1,19 @@
+{
+ "mixed": {
+ "type": "array",
+ "value": [
+ {"type": "array", "value": [
+ {"type": "integer", "value": "1"},
+ {"type": "integer", "value": "2"}
+ ]},
+ {"type": "array", "value": [
+ {"type": "string", "value": "a"},
+ {"type": "string", "value": "b"}
+ ]},
+ {"type": "array", "value": [
+ {"type": "float", "value": "1.0"},
+ {"type": "float", "value": "2.0"}
+ ]}
+ ]
+ }
+}