RFC6901 JSON Pointer implementation in OCaml using jsont
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at ff0fffb172600f6b50dfbe3e404008d2f3e88337 24 lines 562 B view raw
1# Invalid JSON Pointer parsing tests 2# Format: pointer -> error description 3 4# Must start with / if non-empty 5foo -> must start with / 6a/b -> must start with / 70 -> must start with / 8- -> must start with / 9 10# Invalid escape sequences 11/~ -> incomplete escape 12/~2 -> invalid escape ~2 13/~a -> invalid escape ~a 14/foo~bar -> invalid escape ~b 15/~~ -> invalid escape ~~ 16 17# Leading zeros in array indices (RFC 6901 Section 4) 18/00 -> leading zero 19/01 -> leading zero 20/007 -> leading zero 21 22# Negative indices not allowed 23/-1 -> not a valid index 24/-42 -> not a valid index