JsonParserByLeo/Wf/Inc/fixture_test.json
2026-07-21 09:42:30 -05:00

67 lines
1.4 KiB
JSON

{
"symbol": "EURUSD",
"bid": 1.2345,
"ask": 1.2347,
"active": true,
"disabled": false,
"nothing": null,
"big_int": 9223372036854775,
"neg_int": -42,
"zero": 0,
"tiny_float": 0.0001,
"tags": ["fx", "major"],
"empty_arr": [],
"int_arr": [1, 2, 3, 4, 5],
"float_arr": [1.1, 2.2, 3.3],
"bool_arr": [true, false, true],
"mixed_arr": ["str", 1, true, null, 2.5],
"null_arr": [null, null, null],
"nested_arr": [[1, 2], [3, 4], [5, 6]],
"arr_of_objs": [
{"id": 1, "name": "a"},
{"id": 2, "name": "b"},
{"id": 3, "name": "c"}
],
"empty_obj": {},
"meta": {
"id": 7,
"nested": {
"deep": "ok",
"deeper": {
"deepest": "bottom"
}
}
},
"escaped_str": "line1\nline2\ttabbed\\backslash\"quoted\"",
"unicode_str": "café niño é",
"empty_str": "",
"single_key_obj": { "only": "value" },
"big_obj_for_hash": {
"k00": 0, "k01": 1, "k02": 2, "k03": 3, "k04": 4,
"k05": 5, "k06": 6, "k07": 7, "k08": 8, "k09": 9,
"k10": 10, "k11": 11, "k12": 12, "k13": 13, "k14": 14,
"k15": 15, "k16": 16, "k17": 17, "k18": 18, "k19": 19,
"k20": 20, "k21": 21, "k22": 22, "k23": 23, "k24": 24
},
"number_as_string": "123",
"bool_as_string_true": "true",
"bool_as_string_false": "false",
"deeply_nested": {
"l1": {
"l2": {
"l3": {
"l4": {
"l5": "reached_bottom"
}
}
}
}
}
}