zigorou / perl-JSV

JSON Schema implementation for Perl
Other
25 stars 17 forks source link

escape ~ and / in JSON Pointer expression #25

Closed sezal closed 9 years ago

sezal commented 10 years ago

errors returned by JSV::Result->get_error() have unescaped pointer expression. According to http://tools.ietf.org/html/rfc6901#section-4 the following map should be used: '~1' for '/' '~0' for '~'

sezal commented 10 years ago

fix committed (pull request)