CL-USER> (jzon:parse "")
The value
0
is not of type
(INTEGER 1)
from the function type declaration.
[Condition of type TYPE-ERROR]
Restarts:
0: [RETRY] Retry SLIME REPL evaluation request.
1: [*ABORT] Return to SLIME's top level.
2: [ABORT] Exit debugger, returning to top level.
Backtrace:
0: ((LAMBDA NIL :IN JZON::%MAKE-FNS-SIMPLE-STRING))
1: (JZON::%PARSE #<FUNCTION (LAMBDA NIL :IN JZON::%MAKE-FNS-SIMPLE-STRING) {120489076B}> #<FUNCTION (LAMBDA NIL :IN JZON::%MAKE-FNS-SIMPLE-STRING) {1204890C2B}> #<FUNCTION (LAMBDA NIL :IN JZON::%MAKE-FNS..
2: (SB-INT:SIMPLE-EVAL-IN-LEXENV (JZON:PARSE "") #<NULL-LEXENV>)
3: (EVAL (JZON:PARSE ""))
--more--
Should probably be a JSON-ERROR of some sort.
Should probably be a
JSON-ERRORof some sort.