{"action":"created","issue":{"url":"https://api.github.com/repos/jgm/CommonMark/issues/414","repository_url":"https://api.github.com/repos/jgm/CommonMark","labels_url":"https://api.github.com/repos/jgm/CommonMark/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/jgm/CommonMark/issues/414/comments","events_url":"https://api.github.com/repos/jgm/CommonMark/issues/414/events","html_url":"https://github.com/jgm/CommonMark/issues/414","id":163734938,"number":414,"title":"Understanding of JSON output","user":{"login":"rplCloud","id":15885279,"avatar_url":"https://avatars.githubusercontent.com/u/15885279?v=3","gravatar_id":"","url":"https://api.github.com/users/rplCloud","html_url":"https://github.com/rplCloud","followers_url":"https://api.github.com/users/rplCloud/followers","following_url":"https://api.github.com/users/rplCloud/following{/other_user}","gists_url":"https://api.github.com/users/rplCloud/gists{/gist_id}","starred_url":"https://api.github.com/users/rplCloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rplCloud/subscriptions","organizations_url":"https://api.github.com/users/rplCloud/orgs","repos_url":"https://api.github.com/users/rplCloud/repos","events_url":"https://api.github.com/users/rplCloud/events{/privacy}","received_events_url":"https://api.github.com/users/rplCloud/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-04T19:34:22Z","updated_at":"2016-07-05T08:32:52Z","closed_at":"2016-07-05T08:32:52Z","body":"Hi all,\r\n\r\nI try to get JSON output using this library.\r\n\r\nI tried the Python library and the cmark command line tool with the same results. HTML and AST looks ok for me:\r\n\r\n```bash\r\ncmark  <<< '*hello!*'\r\n```\r\n```html\r\n<p><em>hello!</em></p>\r\n```\r\n```bash\r\ncmark -a <<< '*hello!*'\r\n```\r\n```\r\n[document]\r\n\tTitle:\r\n\tInfo:\r\n\tDestination:\r\n\tSourcepos: [[1, 1], [1, 8]]\r\n\tInfo:\r\n\tLiteral:\r\n\tChildren:\r\n\t\t-> [document]\r\n\t\t\t-> Title:\r\n\t\t\t-> Info:\r\n...\r\n\r\n```\r\n\r\nBut I do not understand the JSON output:\r\n\r\n```bash\r\ncmark -aj <<< '*hello!*'\r\n```\r\n```json\r\n{\"is_fenced\": false, \"t\": \"document\", \"sourcepos\": [[1, 1], [1, 8]], \"fence_length\": 0, \"open\": false, \"last_line_blank\": false}\r\n```\r\n\r\nHonestly, I have no idea what this all about...\r\n\r\nI expect some like this:\r\n\r\n```json\r\n[ \"paragraph\" , [\r\n  [ \"emph\" , {} , [\r\n    [ \"text\" , {} , [ \"hello\"\r\n...\r\n```\r\n\r\nCan you give me some hints what I am oing wrong?\r\n\r\nRegards,\r\nReto"},"comment":{"url":"https://api.github.com/repos/jgm/CommonMark/issues/comments/230418154","html_url":"https://github.com/jgm/CommonMark/issues/414#issuecomment-230418154","issue_url":"https://api.github.com/repos/jgm/CommonMark/issues/414","id":230418154,"user":{"login":"rplCloud","id":15885279,"avatar_url":"https://avatars.githubusercontent.com/u/15885279?v=3","gravatar_id":"","url":"https://api.github.com/users/rplCloud","html_url":"https://github.com/rplCloud","followers_url":"https://api.github.com/users/rplCloud/followers","following_url":"https://api.github.com/users/rplCloud/following{/other_user}","gists_url":"https://api.github.com/users/rplCloud/gists{/gist_id}","starred_url":"https://api.github.com/users/rplCloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rplCloud/subscriptions","organizations_url":"https://api.github.com/users/rplCloud/orgs","repos_url":"https://api.github.com/users/rplCloud/repos","events_url":"https://api.github.com/users/rplCloud/events{/privacy}","received_events_url":"https://api.github.com/users/rplCloud/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T08:32:52Z","updated_at":"2016-07-05T08:32:52Z","body":"Yes, you are right. Sorry!"}}
{"actor":{"display_login":"rplCloud"}}