From abd7f486a0fb34320e3afae6780677cfd4ff85cc Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 25 Apr 2021 19:19:28 +0100 Subject: Erring toward complete JSON loader --- test/fixtures/json/load_object.json | 55 +++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 test/fixtures/json/load_object.json (limited to 'test/fixtures/json/load_object.json') diff --git a/test/fixtures/json/load_object.json b/test/fixtures/json/load_object.json new file mode 100644 index 0000000..bb32298 --- /dev/null +++ b/test/fixtures/json/load_object.json @@ -0,0 +1,55 @@ +{ + "@typeid": "TestObject", + "flt": 3.14, + "str": "Lovely string", + "bl": true, + "pos": [ + 3.14, + 6.28, + 1.57 + ], + "flts": [ + 3.14, + 6.28, + 1.57, + 0, + -1, + -3.14 + ], + "poss": [ + [ + 3.14, + 6.28, + 1.57 + ], + [ + 0, + -1, + -3.14 + ] + ], + "nest": [ + [ + [ + "a", + "b" + ], + [ + "c", + "d", + "e" + ] + ], + [ + [ + "f" + ] + ], + [] + ], + "ptr": { + "@typeid": "TestObject", + "flt": 3.14, + "str": "Lovely string" + } +} -- cgit v1.2.3