-
Notifications
You must be signed in to change notification settings - Fork 56
Closed
Description
julia> JSON3.read("""true::[[[}}{sdfg""")
true
julia> JSON3.read("""1::[[[}}{sdfg""")
1
julia> JSON3.read(""""hi"::[[[}}{sdfg""")
"hi"
JSON
errors instead, which I feel is more sensible:
julia> JSON.parse("""true::[[[}}{sdfg""")
ERROR: Expected end of input
Line: 0
Around: ...true::[[[}}{sdfg...
^
julia> JSON.parse("""1::[[[}}{sdfg""")
ERROR: Expected end of input
Line: 0
Around: ...1::[[[}}{sdfg...
^
julia> JSON.parse(""""hi"::[[[}}{sdfg""")
ERROR: Expected end of input
Line: 0
Around: ..."hi"::[[[}}{sdfg...
After read!
there's a call to getvalue
:
Line 69 in b23ad48
return getvalue(Any, buf, tape, 1, t) |
Metadata
Metadata
Assignees
Labels
No labels