Skip to content

support filter by childnode value #11

@zhiyuchen

Description

@zhiyuchen

Seems this is not currently supported, calling the method below returns an error:
NoMethodError: undefined method `price' for "reference":String

JsonPath.on("{ "store": {"book": [{ "category": "reference", "price": 8.95} ] }}", "$..book[?(@.price==8.95)].category")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions