-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Are all jq queries supported? I.e., picking a few from https://github.com/stedolan/jq/blob/master/tests/jq.test,
.foo
{"foo": 42, "bar": 43}
42
.foo | .bar
{"foo": {"bar": 42}, "bar": "badvalue"}
42
.foo.bar
{"foo": {"bar": 42}, "bar": "badvalue"}
42
.foo_bar
{"foo_bar": 2}
2
.["foo"].bar
{"foo": {"bar": 42}, "bar": "badvalue"}
42
."foo"."bar"
{"foo": {"bar": 20}}
20
[.[]|.foo?]
[1,[2],{"foo":3,"bar":4},{},{"foo":5}]
[3,null,5]
[.[]|.foo?.bar?]
[1,[2],[],{"foo":3},{"foo":{"bar":4}},{}]
[4,null]
Are they all supported?
Any plan to port the whole test cases there over here? (I don't mind give it a try, as long as you think all of them should be supported)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels