rudolph-miller/jonathan

Cannot parse JSON containing newlines

fukamachi opened this issue · 4 comments

(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)

Thanks for your reporting.

I fixed it.
Can you try with the latest version?

It works now. Thanks for the quick fix!