Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

escaping in values raises errors #160

Copy link
Copy link
@helloworld121

Description

@helloworld121
Issue body actions

Hi Brett,

I started using your project, and I love it.
But I got one issue with filtering for values, that contain brackets. I tried escaping those brackets but it doesn't work.
Could you take a look at this?

$.book[?(@.chapter === 'chap (1)')]
// Error: jsonPath: Invalid or unexpected token: _$_v.chapter === 'chap (1

I also tried to escape the value by using backticks. But it didn't work.
It is possible, that this is a bug?

It would be great if you could help me out.

Thank you very much,
Sebastian

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.