rsonquery / rsonpath

Blazing fast JSONPath query engine written in Rust.
https://rsonquery.github.io/rsonpath/
MIT License
48 stars 8 forks source link

Parser configuration for trailing/leading whitespace #418

Closed V0ldek closed 8 months ago

V0ldek commented 8 months ago

Short description

The default rsonpath-syntax is now strict and disallows trailing and leading whitespace in queries. This is configurable via the ParserBuilder.

The rq binary is lax and uses this configuration to allow leading and trailing whitespace.

Issue

Resolves: #166

Checklist

All of these should be ticked off before you submit the PR.