diff options
Diffstat (limited to 'lib/zambyte/meta/chibi.scm')
-rw-r--r-- | lib/zambyte/meta/chibi.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/zambyte/meta/chibi.scm b/lib/zambyte/meta/chibi.scm index 7318189..856e1b8 100644 --- a/lib/zambyte/meta/chibi.scm +++ b/lib/zambyte/meta/chibi.scm @@ -43,7 +43,8 @@ (cond ((and (list? json) (json-object-contains-key? json key)) - (set-cdr! (assoc key json) value)) + (set-cdr! (assoc key json) value) + json) ((null? json) (error "json-object-set!: cannot set on an empty object" json)) ((list? json) |