Differentiate brackets and braces in both classifiers #10
Labels
area: selector
Support for a JSONPath selector
good first issue
Good for newcomers
help wanted
External contributions welcome
type: feature
New feature or request
Milestone
Is your feature request related to a problem? Please describe.
Currently the classifier returns
Opening
andClosing
tokens regardless of whether it is a brace or a bracket. For some selectors it is required to know whether we are in a list or an object, so these should be differentiated.Describe the solution you'd like
Split the two variants into
ObjectOpening
/ObjectClosing
andListOpening
/ListClosing
. This doesn't require changes to any SIMD machinery. Current engines need to be updated to react to both kinds of events.The text was updated successfully, but these errors were encountered: