Skip to content

Commit

Permalink
fix: correct response parsing if Emacs lacks native JSON support
Browse files Browse the repository at this point in the history
  • Loading branch information
KarimAziev committed Jun 22, 2024
1 parent edb67a6 commit b3be2de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions igist.el
Original file line number Diff line number Diff line change
Expand Up @@ -4362,9 +4362,9 @@ represent a JSON false value. It defaults to `:false'."
(pcase array-type
('list 'list)
('array 'vector)
(_ 'vector)))
(json-null (or null-object :null))
(json-false (or false-object :false)))
(_ 'list)))
(json-null nil)
(json-false nil))
(json-read-from-string str))))

(defun igist--read-json-payload (_status)
Expand Down

0 comments on commit b3be2de

Please sign in to comment.