Skip to content

[BUG] Handle property name as JSONPath #102

@nieomylnieja

Description

@nieomylnieja

When there's a dot in the path we are currently not escaping it at all which leads to misleading and simply invalid paths.

The same applies to empty paths (created for instance by empty map key) and other forbidden characters by JSONPath.

The solution is to further adhere to the JSONPath standard (updated version) and use ['<escape_sequence>'] syntax whenever we call WithName or infer a name.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions