Skip to content

Commit

Permalink
format: '~~' is invalid in RJP
Browse files Browse the repository at this point in the history
  • Loading branch information
santhosh-tekuri committed Nov 22, 2022
1 parent 1bb4be3 commit ed25199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion format.go
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ func isJSONPointer(v interface{}) bool {
return false
}
switch item[i+1] {
case '~', '0', '1':
case '0', '1':
// valid
default:
return false
Expand Down

0 comments on commit ed25199

Please sign in to comment.