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

Add SingleNodeType (variant of #410, equivalent to #414) #415

Closed glyn closed 1 year ago

glyn commented 1 year ago

This avoids the surprise factor when the value() function is passed a multiple-node nodelist.

This is a PR on the branch for PR . See also https://github.com/ietf-wg-jsonpath/draft-ietf-jsonpath-base/pull/414 which rolls the two together as a single PR.

glyn commented 1 year ago

Closing this, pending the outcome of https://github.com/ietf-wg-jsonpath/draft-ietf-jsonpath-base/pull/420.