aboutsummaryrefslogtreecommitdiff
path: root/src/test/invalid-encoder
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/invalid-encoder
downloadmilf-rs-11115f13a3499420cd09b745a298ef071755b24b.tar.gz
milf-rs-11115f13a3499420cd09b745a298ef071755b24b.zip
Initial commit
Diffstat (limited to 'src/test/invalid-encoder')
-rw-r--r--src/test/invalid-encoder/array-mixed-types-ints-and-floats.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/invalid-encoder/array-mixed-types-ints-and-floats.json b/src/test/invalid-encoder/array-mixed-types-ints-and-floats.json
new file mode 100644
index 0000000..b7920a0
--- /dev/null
+++ b/src/test/invalid-encoder/array-mixed-types-ints-and-floats.json
@@ -0,0 +1,15 @@
+{
+ "ints-and-floats": {
+ "type": "array",
+ "value": [
+ {
+ "type": "integer",
+ "value": "1"
+ },
+ {
+ "type": "float",
+ "value": "1.0"
+ }
+ ]
+ }
+}