Skip to content

error "mixed 63 and 44 in JSON bracket" is not helpful #28

@zeisss

Description

@zeisss

I am trying to apply a filter and then pick the first element from the resulting set and just trying things wildly :)

JSONPath: $.items[?(@.available && @.id>1),0].id

parsing error: $.items[?(@.available && @.id>1),0].id	:1:33 - 1:34 mixed 63 and 44 in JSON bracket

I think the error wording is not helpful in this case, as I had to look into the ascii table to see that 64 is ? and 44 is ,, meaning that I mixed up the comma operator and filter thingy.

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