Skip to content

New JSONPointer tests needed #1081

Description

@stleary

After #1078 is merged, add these unit tests to document the change:

input before 1078 after 1078
/~01, #/~01 selects key / selects key ~1
/~00, #/~00 selects key ~ selects key ~0
/a~01b selects a/b selects a~1b
/a~00b selects a~b selects a~0b
builder().append("~1") selects / selects ~1
builder().append("~0") selects ~ selects ~0
new JSONPointer(List.of("~1")) selects / selects ~1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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