{"action":"created","issue":{"url":"https://api.github.com/repos/hanshuebner/yason/issues/34","labels_url":"https://api.github.com/repos/hanshuebner/yason/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/hanshuebner/yason/issues/34/comments","events_url":"https://api.github.com/repos/hanshuebner/yason/issues/34/events","html_url":"https://github.com/hanshuebner/yason/issues/34","id":128666256,"number":34,"title":"encode-alist sometimes fails with strings as the car of an alist element","user":{"login":"dfmorrison","id":5971860,"avatar_url":"https://avatars.githubusercontent.com/u/5971860?v=3","gravatar_id":"","url":"https://api.github.com/users/dfmorrison","html_url":"https://github.com/dfmorrison","followers_url":"https://api.github.com/users/dfmorrison/followers","following_url":"https://api.github.com/users/dfmorrison/following{/other_user}","gists_url":"https://api.github.com/users/dfmorrison/gists{/gist_id}","starred_url":"https://api.github.com/users/dfmorrison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfmorrison/subscriptions","organizations_url":"https://api.github.com/users/dfmorrison/orgs","repos_url":"https://api.github.com/users/dfmorrison/repos","events_url":"https://api.github.com/users/dfmorrison/events{/privacy}","received_events_url":"https://api.github.com/users/dfmorrison/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-25T22:59:00Z","updated_at":"2016-01-26T11:01:41Z","closed_at":"2016-01-26T11:01:11Z","body":"\r\nThis is in yason 0.7.5 under CCL\r\n\r\n    ? (format t \"~@{~A~%~}\"\r\n            (asdf:component-version (asdf:find-system :yason))\r\n            (lisp-implementation-type)\r\n            (lisp-implementation-version)\r\n            (software-type)\r\n            (software-version)\r\n            (machine-type)\r\n            (machine-version))\r\n    0.7.5\r\n    Clozure Common Lisp\r\n    Version 1.10-r16196  (LinuxX8664)\r\n    Linux\r\n    3.16.0-50-generic\r\n    x86_64\r\n    Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz\r\n    NIL\r\n\r\nThe following works fine:\r\n\r\n    ? (yason:encode-alist '((:symbol . 0) (\"string\" . 0)))\r\n    {\"SYMBOL\":0,\"string\":0}\r\n    ((:SYMBOL . 0) (\"string\" . 0))\r\n\r\nHowever, if we reorder the two items in the a-list, it signals an error:\r\n\r\n    ? (yason:encode-alist '((\"string\" . 0) (:symbol . 0)))\r\n    [[\"string\"\r\n    > Error: The value 0 is not of the expected type LIST.\r\n    > While executing: YASON::ENCODE-LIST%, in process listener(1).\r\n"},"comment":{"url":"https://api.github.com/repos/hanshuebner/yason/issues/comments/174957564","html_url":"https://github.com/hanshuebner/yason/issues/34#issuecomment-174957564","issue_url":"https://api.github.com/repos/hanshuebner/yason/issues/34","id":174957564,"user":{"login":"hanshuebner","id":108751,"avatar_url":"https://avatars.githubusercontent.com/u/108751?v=3","gravatar_id":"","url":"https://api.github.com/users/hanshuebner","html_url":"https://github.com/hanshuebner","followers_url":"https://api.github.com/users/hanshuebner/followers","following_url":"https://api.github.com/users/hanshuebner/following{/other_user}","gists_url":"https://api.github.com/users/hanshuebner/gists{/gist_id}","starred_url":"https://api.github.com/users/hanshuebner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanshuebner/subscriptions","organizations_url":"https://api.github.com/users/hanshuebner/orgs","repos_url":"https://api.github.com/users/hanshuebner/repos","events_url":"https://api.github.com/users/hanshuebner/events{/privacy}","received_events_url":"https://api.github.com/users/hanshuebner/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T11:01:41Z","updated_at":"2016-01-26T11:01:41Z","body":"(Release 0.7.6 has the buggy change set removed)"}}