Skip to content

Value filter in Path can omit closing square bracket character #63

Description

@braveulysses

A Path with a value filter is considered valid if it omits the closing ] character, though such a Path should be considered invalid. This is something that @dvernon-uid noticed some time ago.

Example:

{  
   "colors": [  
      "red",
      "green",
      "blue"
   ]
}

The path colors[value eq \"blue\"] is valid, as expected, but so is colors[value eq \"blue\".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions