{"action":"created","issue":{"url":"https://api.github.com/repos/newsdev/archieml-js/issues/4","labels_url":"https://api.github.com/repos/newsdev/archieml-js/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/newsdev/archieml-js/issues/4/comments","events_url":"https://api.github.com/repos/newsdev/archieml-js/issues/4/events","html_url":"https://github.com/newsdev/archieml-js/issues/4","id":60777526,"number":4,"title":"Square bracket, single words within multi-line strings create new empty arrays","user":{"login":"minikomi","id":364725,"avatar_url":"https://avatars.githubusercontent.com/u/364725?v=3","gravatar_id":"","url":"https://api.github.com/users/minikomi","html_url":"https://github.com/minikomi","followers_url":"https://api.github.com/users/minikomi/followers","following_url":"https://api.github.com/users/minikomi/following{/other_user}","gists_url":"https://api.github.com/users/minikomi/gists{/gist_id}","starred_url":"https://api.github.com/users/minikomi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minikomi/subscriptions","organizations_url":"https://api.github.com/users/minikomi/orgs","repos_url":"https://api.github.com/users/minikomi/repos","events_url":"https://api.github.com/users/minikomi/events{/privacy}","received_events_url":"https://api.github.com/users/minikomi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-12T06:33:52Z","updated_at":"2015-03-13T05:27:54Z","closed_at":null,"body":"I'm not sure what the expected result is but this seems a little odd:\r\n\r\n```text\r\nkey:value\r\nmulti-line-value\r\n[singleword]\r\nanother multi line value\r\n:end\r\n```\r\n\r\nOutput:\r\n\r\n```text\r\n{\r\n  \"key\": \"valueanother multi line value\",\r\n  \"yeah\": []\r\n}\r\n```\r\n\r\n`multi-line-value` has disappeared, and there's also no newlines in the output.\r\n\r\nWhen there is a multi-word value within the square brackets, it is treated as a comment and we get:\r\n\r\n```text\r\nkey:value\r\nmulti-line-value\r\n[double word]\r\nanother multi line value\r\n:end\r\n\r\n{\r\n  \"key\": \"value\\nmulti-line-value\\n\\nanother multi line value\"\r\n}\r\n```\r\n\r\nWhich seems more consistent with the other rules."},"comment":{"url":"https://api.github.com/repos/newsdev/archieml-js/issues/comments/78810976","html_url":"https://github.com/newsdev/archieml-js/issues/4#issuecomment-78810976","issue_url":"https://api.github.com/repos/newsdev/archieml-js/issues/4","id":78810976,"user":{"login":"minikomi","id":364725,"avatar_url":"https://avatars.githubusercontent.com/u/364725?v=3","gravatar_id":"","url":"https://api.github.com/users/minikomi","html_url":"https://github.com/minikomi","followers_url":"https://api.github.com/users/minikomi/followers","following_url":"https://api.github.com/users/minikomi/following{/other_user}","gists_url":"https://api.github.com/users/minikomi/gists{/gist_id}","starred_url":"https://api.github.com/users/minikomi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minikomi/subscriptions","organizations_url":"https://api.github.com/users/minikomi/orgs","repos_url":"https://api.github.com/users/minikomi/repos","events_url":"https://api.github.com/users/minikomi/events{/privacy}","received_events_url":"https://api.github.com/users/minikomi/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T05:27:54Z","updated_at":"2015-03-13T05:27:54Z","body":"Also seems to be related:\r\n\r\n```text\r\n{scope}\r\nkey:value\r\n{}\r\nvalue2\r\n:end\r\n```\r\n\r\nresult:\r\n\r\n```text\r\n{\r\n  \"scope\": {\r\n    \"key\": \"value\"\r\n  },\r\n  \"key\": \"undefinedvalue2\"\r\n}\r\n```"}}