# Invalid JSON Pointer parsing tests # Format: pointer -> error description # Must start with / if non-empty foo -> must start with / a/b -> must start with / 0 -> must start with / - -> must start with / # Invalid escape sequences /~ -> incomplete escape /~2 -> invalid escape ~2 /~a -> invalid escape ~a /foo~bar -> invalid escape ~b /~~ -> invalid escape ~~ # Leading zeros in array indices (RFC 6901 Section 4) /00 -> leading zero /01 -> leading zero /007 -> leading zero # Negative indices not allowed /-1 -> not a valid index /-42 -> not a valid index