summaryrefslogtreecommitdiffstats
path: root/third_party/rust/toml/tests/valid/arrays-hetergeneous.json
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/toml/tests/valid/arrays-hetergeneous.json')
-rw-r--r--third_party/rust/toml/tests/valid/arrays-hetergeneous.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/third_party/rust/toml/tests/valid/arrays-hetergeneous.json b/third_party/rust/toml/tests/valid/arrays-hetergeneous.json
new file mode 100644
index 0000000000..478fa5c706
--- /dev/null
+++ b/third_party/rust/toml/tests/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.1"},
+ {"type": "float", "value": "2.1"}
+ ]}
+ ]
+ }
+}