Skip to content

[Bug]: Valid JSONPath is Flagged as Invalid #255

@gs-dspell

Description

@gs-dspell

What happened?

This JSONPath filter:
$.[?(@.state == "blocked")]
...is flagged as invalid.

Trying to filter successful results from API call.

Steps to reproduce?

https://gitlab.com/api/v4/groups/:id/enterprise_users

:id is equal to a group name (top-level) or group ID number.
PRIVATE-TOKEN is set in header.

What did you expect to happen?

The interface reports it as invalid JSON when it isn't.

Platform

macOS

HTTPie Desktop version

2022.2.0

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions