Issue · GitHub
Skip to content

The proper syntax to filter equal condition #34

Description

@dongliu

I spend a while to go through the document and code to figure this out.

An expression like $..book[?(@.title='"Sword of Honour"')] will not work.

It should be something like $..book[?(@.title=='"Sword of Honour"')] or $..book[?(@.title==='"Sword of Honour"')] like in JavaScript. Not sure if this is obvious, but I suggest to add it to the document since it is different from XPath syntax. Thanks.

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