Skip to content

Commit

Permalink
don't store class-key, store key
Browse files Browse the repository at this point in the history
  • Loading branch information
nixeagle committed Jan 30, 2010
1 parent 80e68d8 commit e63c6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ ALIST. Hash table is initialized using the HASH-TABLE-INITARGS."
(if (and (not *current-prototype*)
class-key)
(progn (setq json::*accumulator-last*
(setf (cdr json::*accumulator-last*) (cons (cons class-key nil) nil)))
(setf (cdr json::*accumulator-last*) (cons (cons key nil) nil)))
(setq *current-prototype* class-key)
#+ () (pushnew (cons "PROTOTYPE" key) (cddr json::*accumulator*))
(setq json::*prototype* class-key))
Expand Down

0 comments on commit e63c6cb

Please sign in to comment.