Fix JSON serialization issue with double-commas

… I forgot to add an output to YASON:ENCODE!
This commit is contained in:
Jaidyn Ann 2024-06-22 13:33:05 -05:00
parent 8e58c7b1a4
commit fdbda3672f

View File

@ -280,7 +280,8 @@ into one. Otherwise, parse it into an associative list."
;;; ———————————————————————————————————————— ;;; ————————————————————————————————————————
;; Note-worthy: See the above-defined DEFINE-YASON-ENCODE-SLOTS. ;; Note-worthy: See the above-defined DEFINE-YASON-ENCODE-SLOTS.
(defmethod yason:encode ((obj object) &optional (stream *standard-output*)) (defmethod yason:encode ((obj object) &optional (stream *standard-output*))
(yason:encode-object obj)) (yason:with-output (stream)
(yason:encode-object obj)))
(defmethod yason:encode-object ((obj object)) (defmethod yason:encode-object ((obj object))
(typecase *@context* (typecase *@context*