diff options
Diffstat (limited to 'third_party/rust/toml/tests/valid/arrays.json')
-rw-r--r-- | third_party/rust/toml/tests/valid/arrays.json | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/third_party/rust/toml/tests/valid/arrays.json b/third_party/rust/toml/tests/valid/arrays.json new file mode 100644 index 0000000000..58aedbccbe --- /dev/null +++ b/third_party/rust/toml/tests/valid/arrays.json @@ -0,0 +1,34 @@ +{ + "ints": { + "type": "array", + "value": [ + {"type": "integer", "value": "1"}, + {"type": "integer", "value": "2"}, + {"type": "integer", "value": "3"} + ] + }, + "floats": { + "type": "array", + "value": [ + {"type": "float", "value": "1.1"}, + {"type": "float", "value": "2.1"}, + {"type": "float", "value": "3.1"} + ] + }, + "strings": { + "type": "array", + "value": [ + {"type": "string", "value": "a"}, + {"type": "string", "value": "b"}, + {"type": "string", "value": "c"} + ] + }, + "dates": { + "type": "array", + "value": [ + {"type": "datetime", "value": "1987-07-05T17:45:00Z"}, + {"type": "datetime", "value": "1979-05-27T07:32:00Z"}, + {"type": "datetime", "value": "2006-06-01T11:00:00Z"} + ] + } +} |