aboutsummaryrefslogtreecommitdiff
path: root/sx-request.el
diff options
context:
space:
mode:
Diffstat (limited to 'sx-request.el')
-rw-r--r--sx-request.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/sx-request.el b/sx-request.el
index 1eabc41..bbb0941 100644
--- a/sx-request.el
+++ b/sx-request.el
@@ -191,6 +191,7 @@ the main content of the response is returned."
;; RESPONSE to 'corrupt or something
(response (with-demoted-errors "`json' error: %S"
(let ((json-false nil)
+ (json-array-type 'list)
(json-null :null))
(json-read-from-string data)))))
(kill-buffer response-buffer)