Skip to content

Conversation

leonchen83
Copy link

@leonchen83 leonchen83 commented Feb 24, 2022

Now Path can convert RFC6901 style path to json path
for example
Path.ofJosnPointer("/abc/0") can convert to Path.of(".[\"abc\"].[0]")

the limitation of JsonPointer path is /abc/0 always convert to .[\"abc\"].[0] and not .[\"abc\"].[\"0\"]
if users want to use .abc.0, they should use Path.of(".abc.0") instead of Path.ofJosnPointer("/abc/0")

now Path can convert RFC6901 style path to json path
for example
Path.ofJosnPointer("/abc/0") can convert to Path.of(".abc.[0]")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants