From 94c434227d60e38d305e48043522774bcfa8ef31 Mon Sep 17 00:00:00 2001 From: Sean Allred Date: Fri, 31 Oct 2014 18:58:18 -0400 Subject: Strip properties from string sent to json-read --- stack-core.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'stack-core.el') diff --git a/stack-core.el b/stack-core.el index 082af83..16a20c9 100644 --- a/stack-core.el +++ b/stack-core.el @@ -182,7 +182,9 @@ entire response as a complex alist." (point-min) (point-max) stack-core-unzip-program nil t) - (json-read-from-string (buffer-string)))) + (json-read-from-string + (buffer-substring + (point-min) (point-max))))) ;; If it still fails, error out (unless response (stack-message "Unable to parse response") -- cgit v1.2.3