Skip to content

yaji doesn't recognize malformed json #15

Open
vaderr12 opened this Issue May 12, 2011 · 2 comments

2 participants

@vaderr12

bellow is a call which doesn't raise exception as it should (string value for field a is not terminated)

[@"{\"a\" : \"test" yajl_JSON]

@vaderr12

sorry, my escapes was eated by scripts, call should look like:
[@"{\"a\" : \"test" yajl_JSON]

@mcrispino

Same issue here. Sample JSON is:
{"id":1,"name":"test","date":"0000-00-00"
(missing close bracket)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.