UNPKG

spahql

Version:

A query language and data model for deep Javascript object structures.

12 lines 542 B
{ "obj": {"a": 1, "b": 2, "c": 3}, "arr": ["d","e","f"], "str": "abcdef", "num": 1000, "bool": true, "objNested": {"a": {"a": 1, "b": 2, "c": 3}, "b": {"d": 4, "e": 5, "f": 6}, "c": {"g": 7, "h": 8, "i": 9, "j": ["a", "b", "c"]}}, "arrNested": [["a", "b", "c"],["d", "e", "f"],["g", "h", {"a": 1, "b": 2, "c": 3}]], "objWithArr": {"a": ["a", "b", "c"], "b": ["d", "e", "f"], "c": ["g", "h", "i"]}, "objWithArrSlice": {"b": ["d", "e", "f"]}, "arrWithObj": [{"a": 1, "b": 2, "c": 3},{"d": 4, "e": 5, "f": 6},{"g": 7, "h": 8, "i": 9, "j": 10}] }