aboutsummaryrefslogtreecommitdiff
path: root/sx-request.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-03-02 21:31:09 -0300
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-03-02 21:53:56 -0300
commitc151212966039601193f99698536e9284c98073c (patch)
tree6d4b7428c49acc9f736689f71f5bec2bcd8ebb9b /sx-request.el
parent2de52c27e4a3fdc370039f8afacd8b212bcc37d4 (diff)
Set json-array-type to 'list and perform many simplifications
due to usage of lists instead of vectors
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)