0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 11:17:50 +01:00
posthog/hogvm/__tests__/__snapshots__/json.hoge
2024-09-25 08:43:53 +00:00

26 lines
2.8 KiB
Plaintext

["_H", 1, 32, "[1,2,3]", 2, "jsonParse", 1, 2, "print", 1, 35, 32, "event", 32, "$pageview", 32, "properties", 32,
"$browser", 32, "Chrome", 32, "$os", 32, "Windows", 42, 2, 42, 2, 36, 0, 2, "jsonStringify", 1, 36, 1, 2, "jsonParse",
1, 2, "print", 1, 35, 32, "-- JSONHas --", 2, "print", 1, 35, 32, "{\"a\": \"hello\", \"b\": [-100, 200.0, 300]}", 32,
"b", 2, "JSONHas", 2, 2, "print", 1, 35, 32, "{\"a\": \"hello\", \"b\": [-100, 200.0, 300]}", 32, "b", 33, 4, 2,
"JSONHas", 3, 2, "print", 1, 35, 32, "a", 32, "hello", 32, "b", 33, -100, 34, 200.0, 33, 300, 43, 3, 42, 2, 32, "b", 2,
"JSONHas", 2, 2, "print", 1, 35, 32, "a", 32, "hello", 32, "b", 33, -100, 34, 200.0, 33, 300, 43, 3, 42, 2, 32, "b", 33,
4, 2, "JSONHas", 3, 2, "print", 1, 35, 32, "a", 32, "hello", 32, "b", 33, -100, 34, 200.0, 33, 300, 43, 3, 42, 2, 32,
"b", 33, -2, 2, "JSONHas", 3, 2, "print", 1, 35, 32, "a", 32, "hello", 32, "b", 33, -100, 34, 200.0, 33, 300, 43, 3, 42,
2, 32, "b", 33, -4, 2, "JSONHas", 3, 2, "print", 1, 35, 32, "[1,2,3]", 33, 0, 2, "JSONHas", 2, 2, "print", 1, 35, 32,
"[1,2,[1,2]]", 33, -1, 33, 1, 2, "JSONHas", 3, 2, "print", 1, 35, 32, "[1,2,[1,2]]", 33, -1, 33, -3, 2, "JSONHas", 3, 2,
"print", 1, 35, 32, "[1,2,[1,2]]", 33, 1, 33, 1, 2, "JSONHas", 3, 2, "print", 1, 35, 32, "-- isValidJSON --", 2,
"print", 1, 35, 32, "{\"a\": \"hello\", \"b\": [-100, 200.0, 300]}", 2, "isValidJSON", 1, 2, "print", 1, 35, 32,
"not a json", 2, "isValidJSON", 1, 2, "print", 1, 35, 32, "-- JSONLength --", 2, "print", 1, 35, 32,
"{\"a\": \"hello\", \"b\": [-100, 200.0, 300]}", 32, "b", 2, "JSONLength", 2, 2, "print", 1, 35, 32,
"{\"a\": \"hello\", \"b\": [-100, 200.0, 300]}", 2, "JSONLength", 1, 2, "print", 1, 35, 32, "a", 32, "hello", 32, "b",
33, -100, 34, 200.0, 33, 300, 43, 3, 42, 2, 32, "b", 2, "JSONLength", 2, 2, "print", 1, 35, 32, "a", 32, "hello", 32,
"b", 33, -100, 34, 200.0, 33, 300, 43, 3, 42, 2, 2, "JSONLength", 1, 2, "print", 1, 35, 32, "-- JSONExtractBool --", 2,
"print", 1, 35, 32, "{\"a\": \"hello\", \"b\": true}", 32, "b", 2, "JSONExtractBool", 2, 2, "print", 1, 35, 32,
"{\"a\": \"hello\", \"b\": false}", 32, "b", 2, "JSONExtractBool", 2, 2, "print", 1, 35, 32,
"{\"a\": \"hello\", \"b\": 1}", 32, "b", 2, "JSONExtractBool", 2, 2, "print", 1, 35, 32, "{\"a\": \"hello\", \"b\": 0}",
32, "b", 2, "JSONExtractBool", 2, 2, "print", 1, 35, 32, "{\"a\": \"hello\", \"b\": \"true\"}", 32, "b", 2,
"JSONExtractBool", 2, 2, "print", 1, 35, 32, "{\"a\": \"hello\", \"b\": \"false\"}", 32, "b", 2, "JSONExtractBool", 2,
2, "print", 1, 35, 29, 2, "JSONExtractBool", 1, 2, "print", 1, 35, 30, 2, "JSONExtractBool", 1, 2, "print", 1, 35, 33,
1, 2, "JSONExtractBool", 1, 2, "print", 1, 35, 33, 0, 2, "JSONExtractBool", 1, 2, "print", 1, 35, 32, "true", 2,
"JSONExtractBool", 1, 2, "print", 1, 35, 32, "false", 2, "JSONExtractBool", 1, 2, "print", 1, 35, 35, 35]