diff options
author | Juan Manuel Tomás <jtomas1815@gmail.com> | 2023-08-07 01:12:17 -0300 |
---|---|---|
committer | Juan Manuel Tomás <jtomas1815@gmail.com> | 2023-08-07 01:12:17 -0300 |
commit | c857477e0585b14a8ecba3d57d45e961449c2a90 (patch) | |
tree | c9fe1dfc34e72c5b6318155d6963a4a09bc64150 /load.lisp | |
parent | 45db9a682fe12cb68f76665a76bf58aee36bc44b (diff) | |
download | json-c857477e0585b14a8ecba3d57d45e961449c2a90.tar.gz json-c857477e0585b14a8ecba3d57d45e961449c2a90.zip |
Take empty objects into account
Diffstat (limited to 'load.lisp')
-rw-r--r-- | load.lisp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -78,10 +78,10 @@ (defparameter json-object (let ((json-pair (comp ((_ whitespace) - (k (crit string-literal)) + (k string-literal) (_ whitespace) (_ (crit (unit #\:))) - (v json-value)) + (v (crit json-value))) (cons k v)))) (comp ((_ (unit #\{)) (vn (optional (separated-list json-pair (unit #\,)))) |