ietf-wg-jsonpath / draft-ietf-jsonpath-base

Development of a JSONPath internet draft
https://ietf-wg-jsonpath.github.io/draft-ietf-jsonpath-base/
Other
58 stars 20 forks source link

`BooleanType` should be logical, not a value, for consistent expression grammar #396

Closed gregsdennis closed 1 year ago

gregsdennis commented 1 year ago

This is another option to resolve #387 (see #395 for the first option).

For this, BooleanType is not a value but represents the logical result of test-expr.

A fallout of this is that $[?match(@.timezone, 'Europe/.*')==false] is not valid/well-formed.

gregsdennis commented 1 year ago

There are a few editorial changes to make too

Yeah, I noticed few unrelated editorials I'd like to rework as well.

gregsdennis commented 1 year ago

Closing this in favor of ☝️ as it's more complete.