diff options
author | Sean Allred <code@seanallred.com> | 2014-10-31 18:58:18 -0400 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-10-31 18:58:18 -0400 |
commit | 94c434227d60e38d305e48043522774bcfa8ef31 (patch) | |
tree | f6834b7f866e50e2e1b7072f749a64133f011e9a /stack-core.el | |
parent | 55111f36af271b85f452d3774beb89b0aa85cfc6 (diff) |
Strip properties from string sent to json-read
Diffstat (limited to 'stack-core.el')
-rw-r--r-- | stack-core.el | 4 |
1 files changed, 3 insertions, 1 deletions
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") |