-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
Considering our abstract class JSONPathSelector, and the absence of a JSONPathSegment class, we are currently blurring the lines between segments and selectors.
We should refactor to follow the JSONPath model described in RFC 9535 by implementing a JSONPathSegment class, where all JSONPathSelector instances belong to a segment, even shorthand selectors. In turn, a JSONPath expression (currently JSONPath and should be JSONPathQuery or JSONPathExpression to match terminology from RFC 9535) should be made up of segments only.
This diagram illustrates what we want.
slaskis
Metadata
Metadata
Assignees
Labels
No labels