diff options
author | Pedro Silva <psilva+git@pedrosilva.pt> | 2013-04-04 12:59:22 +0100 |
---|---|---|
committer | Pedro Silva <psilva+git@pedrosilva.pt> | 2013-04-04 12:59:22 +0100 |
commit | d471fb402d48a9f672fff254549b49fe85605708 (patch) | |
tree | b1fc3ba47d1a813e5b372c7147b6a73ad3373470 | |
parent | 4a282f39fc81e68d05265e980667a84d064e8a63 (diff) |
Change json-array-type to list
-rw-r--r-- | ttrss.el | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -72,11 +72,13 @@ CONTENT must be a data structure that `json-encode' knows how to encode as a JSON object. -Returns the JSON response as a plist or, optionally, the PROPERTY -in the plist, if the response status is 0, nil otherwise." +Returns the JSON response as a property list (or, optionally, the +PROPERTY in the property list) if the response status is 0, nil +otherwise." (let ((url-request-method "POST") (url-request-data (json-encode content)) (json-object-type 'plist) + (json-array-type 'list) (json-false nil)) (with-current-buffer (url-retrieve-synchronously address) (goto-char (point-min)) |