Replies: 1 comment
-
By design, see jsoncons JSONPath. Allowing hyphens in bare property names conflicts with allowing unary minus and subtraction in filter expressions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Seems that jsoncons rejects '-' when it appears in field names. Is it by design? I know it's still possible to use quotes for referencing fields but unfortunately we get our jsonpath expression from a user that uses dashes and preprocessing the string before passing it further to
jsonpath::make_expression
is complicated.Beta Was this translation helpful? Give feedback.
All reactions