Cannot parse JSON containing newlines
fukamachi opened this issue · 4 comments
fukamachi commented
(jonathan:parse "{\"private\": false}")
;=> (:|private| NIL)
;; unexpected EOF
(jonathan:parse "{
\"private\": false
}")
; Evaluation aborted on #<JONATHAN.ERROR:<JONATHAN-UNEXPECTED-EOF-ERROR> {10048EF0B3}>.
;; Strange behaviour
(jonathan:parse "{
\"private\": false}")
;=> (:|| 0 :|ivate| NIL)
rudolph-miller commented
Thanks for your reporting.
rudolph-miller commented
rudolph-miller commented
I fixed it.
Can you try with the latest version?
fukamachi commented
It works now. Thanks for the quick fix!