Skip to content

Parsing of advanced path not working. #4

@DwayneCoussement

Description

@DwayneCoussement

func testAdvancedPath() { let result = PathParser.parse(path: "$.array[?(@.id==5)]") XCTAssertNotNil(result) }

=> This doesn't return a valid path, json to test with is following, check with http://jsonpath.com:

{ "array": [ { "id": 4 }, { "id": 5 } ] }

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