aboutsummaryrefslogtreecommitdiff
path: root/tests/invalid-encoder
diff options
context:
space:
mode:
Diffstat (limited to 'tests/invalid-encoder')
-rw-r--r--tests/invalid-encoder/array-mixed-types-ints-and-floats.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/invalid-encoder/array-mixed-types-ints-and-floats.json b/tests/invalid-encoder/array-mixed-types-ints-and-floats.json
new file mode 100644
index 0000000..b7920a0
--- /dev/null
+++ b/tests/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"
+ }
+ ]
+ }
+}