2019-07-11 08:39:30 +00:00
|
|
|
--allow_simdjson=1--
|
|
|
|
--JSONLength--
|
|
|
|
2
|
|
|
|
3
|
|
|
|
0
|
|
|
|
--JSONHas--
|
|
|
|
1
|
|
|
|
1
|
|
|
|
0
|
2019-10-12 11:42:43 +00:00
|
|
|
--isValidJSON--
|
|
|
|
1
|
|
|
|
0
|
|
|
|
0
|
2019-07-11 08:39:30 +00:00
|
|
|
--JSONKey--
|
|
|
|
a
|
|
|
|
b
|
|
|
|
b
|
|
|
|
a
|
|
|
|
--JSONType--
|
|
|
|
Object
|
|
|
|
Array
|
|
|
|
--JSONExtract<numeric>--
|
|
|
|
-100
|
|
|
|
200
|
|
|
|
300
|
|
|
|
1
|
|
|
|
0
|
|
|
|
--JSONExtractString--
|
|
|
|
hello
|
|
|
|
hello
|
|
|
|
\n\0
|
|
|
|
☺
|
|
|
|
|
|
|
|
|
|
|
|
--JSONExtract (generic)--
|
|
|
|
('hello',[-100,200,300])
|
|
|
|
('hello',[-100,200,300])
|
|
|
|
([-100,200,300],'hello')
|
|
|
|
('hello\0',0)
|
|
|
|
hello
|
|
|
|
[-100,200,300]
|
|
|
|
(-100,200,300)
|
|
|
|
[-100,0,0]
|
|
|
|
[-100,NULL,NULL]
|
|
|
|
[0,200,0]
|
|
|
|
[NULL,200,NULL]
|
|
|
|
-100
|
|
|
|
200
|
|
|
|
\N
|
|
|
|
1
|
|
|
|
Thursday
|
|
|
|
Friday
|
2019-08-28 22:51:02 +00:00
|
|
|
(3,5)
|
|
|
|
(7,3)
|
|
|
|
(5,0)
|
|
|
|
(3,5)
|
|
|
|
(3,0)
|
|
|
|
(3,5)
|
|
|
|
(3,0)
|
2019-07-11 08:39:30 +00:00
|
|
|
--JSONExtractKeysAndValues--
|
|
|
|
[('a','hello')]
|
|
|
|
[('b',[-100,200,300])]
|
|
|
|
[('a','hello'),('b','world')]
|
|
|
|
[('a',5),('b',7),('c',11)]
|
|
|
|
--JSONExtractRaw--
|
|
|
|
{"a":"hello","b":[-100,200,300]}
|
|
|
|
"hello"
|
|
|
|
[-100,200,300]
|
|
|
|
-100
|
|
|
|
{"a":"hello","b":[-100,200,300],"c":{"d":[121,144]}}
|
|
|
|
{"d":[121,144]}
|
|
|
|
[121,144]
|
|
|
|
144
|
|
|
|
|
|
|
|
{"passed":true}
|
|
|
|
{}
|
|
|
|
"\\n\\u0000"
|
|
|
|
"☺"
|
|
|
|
--const/non-const mixed--
|
|
|
|
a
|
|
|
|
b
|
|
|
|
c
|
|
|
|
d
|
|
|
|
e
|
|
|
|
u
|
|
|
|
v
|
|
|
|
--allow_simdjson=0--
|
2019-05-13 23:44:55 +00:00
|
|
|
--JSONLength--
|
2019-05-10 08:49:03 +00:00
|
|
|
2
|
2019-05-13 23:44:55 +00:00
|
|
|
3
|
|
|
|
0
|
|
|
|
--JSONHas--
|
2019-03-14 02:55:04 +00:00
|
|
|
1
|
|
|
|
1
|
2019-05-13 23:44:55 +00:00
|
|
|
0
|
|
|
|
--JSONKey--
|
2019-03-14 02:55:04 +00:00
|
|
|
a
|
2019-05-10 08:49:03 +00:00
|
|
|
b
|
|
|
|
b
|
|
|
|
a
|
2019-05-13 23:44:55 +00:00
|
|
|
--JSONType--
|
|
|
|
Object
|
|
|
|
Array
|
2019-05-16 13:35:31 +00:00
|
|
|
--JSONExtract<numeric>--
|
2019-03-14 02:55:04 +00:00
|
|
|
-100
|
|
|
|
200
|
|
|
|
300
|
2019-05-13 23:44:55 +00:00
|
|
|
1
|
2019-05-16 17:43:01 +00:00
|
|
|
0
|
2019-05-16 13:35:31 +00:00
|
|
|
--JSONExtractString--
|
|
|
|
hello
|
|
|
|
hello
|
|
|
|
\n\0
|
|
|
|
☺
|
|
|
|
|
|
|
|
|
2019-05-13 23:44:55 +00:00
|
|
|
--JSONExtract (generic)--
|
|
|
|
('hello',[-100,200,300])
|
|
|
|
('hello',[-100,200,300])
|
|
|
|
([-100,200,300],'hello')
|
|
|
|
('hello\0',0)
|
|
|
|
hello
|
|
|
|
[-100,200,300]
|
|
|
|
(-100,200,300)
|
|
|
|
[-100,0,0]
|
|
|
|
[-100,NULL,NULL]
|
|
|
|
[0,200,0]
|
|
|
|
[NULL,200,NULL]
|
|
|
|
-100
|
|
|
|
200
|
|
|
|
\N
|
2019-05-16 13:35:31 +00:00
|
|
|
1
|
2019-05-13 23:44:55 +00:00
|
|
|
Thursday
|
|
|
|
Friday
|
2019-08-28 22:51:02 +00:00
|
|
|
(3,5)
|
|
|
|
(7,3)
|
|
|
|
(5,0)
|
|
|
|
(3,5)
|
|
|
|
(3,0)
|
|
|
|
(3,5)
|
|
|
|
(3,0)
|
2019-05-16 13:35:31 +00:00
|
|
|
--JSONExtractKeysAndValues--
|
|
|
|
[('a','hello')]
|
|
|
|
[('b',[-100,200,300])]
|
|
|
|
[('a','hello'),('b','world')]
|
|
|
|
[('a',5),('b',7),('c',11)]
|
2019-05-13 23:44:55 +00:00
|
|
|
--JSONExtractRaw--
|
|
|
|
{"a":"hello","b":[-100,200,300]}
|
2019-05-13 13:46:19 +00:00
|
|
|
"hello"
|
|
|
|
[-100,200,300]
|
|
|
|
-100
|
2019-05-13 23:44:55 +00:00
|
|
|
{"a":"hello","b":[-100,200,300],"c":{"d":[121,144]}}
|
2019-05-13 13:46:19 +00:00
|
|
|
{"d":[121,144]}
|
|
|
|
[121,144]
|
|
|
|
144
|
2019-05-13 23:44:55 +00:00
|
|
|
|
|
|
|
{"passed":true}
|
|
|
|
{}
|
2019-05-16 13:35:31 +00:00
|
|
|
"\\n\\u0000"
|
|
|
|
"☺"
|
2019-05-27 18:46:55 +00:00
|
|
|
--const/non-const mixed--
|
|
|
|
a
|
|
|
|
b
|
|
|
|
c
|
|
|
|
d
|
|
|
|
e
|
|
|
|
u
|
|
|
|
v
|
2019-12-08 14:24:37 +00:00
|
|
|
--JSONExtractArrayRaw--
|
|
|
|
[]
|
|
|
|
[]
|
|
|
|
[]
|
|
|
|
['[]','[]']
|
|
|
|
['-100','200','300']
|
|
|
|
['1','2','3','4','5','"hello"']
|
|
|
|
['1','2','3']
|
|
|
|
['4','5','6']
|