diff options
author | Juan Manuel Tomás <jtomas1815@gmail.com> | 2022-11-04 17:59:50 -0300 |
---|---|---|
committer | Juan Manuel Tomás <jtomas1815@gmail.com> | 2022-11-04 17:59:50 -0300 |
commit | c056fba57c695c0504ef21c7cb3ad430862b53e8 (patch) | |
tree | 3ecf44d34e1adf0fc4d79361cf3a80f2ae81d068 | |
parent | b69c1857f9b1f811d510f70cff2e15bc02bb2fea (diff) | |
download | json-c056fba57c695c0504ef21c7cb3ad430862b53e8.tar.gz json-c056fba57c695c0504ef21c7cb3ad430862b53e8.zip |
Change how array and object return empty value
-rw-r--r-- | json.lisp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -99,7 +99,7 @@ (if vn (cons v0 vn) (list v0)) - 'empty-array))) + nil))) (defparameter json-object (let ((json-pair @@ -128,7 +128,7 @@ (let ((obj (make-hash-table :test #'equal))) (setf (gethash (car v0) obj) (cdr v0)) obj)) - 'empty-object)))) + (make-hash-table :test #'equal))))) (setf json-value (comp ((_ whitespace) |