{"action":"created","issue":{"url":"https://api.github.com/repos/avh4/elm-format/issues/599","repository_url":"https://api.github.com/repos/avh4/elm-format","labels_url":"https://api.github.com/repos/avh4/elm-format/issues/599/labels{/name}","comments_url":"https://api.github.com/repos/avh4/elm-format/issues/599/comments","events_url":"https://api.github.com/repos/avh4/elm-format/issues/599/events","html_url":"https://github.com/avh4/elm-format/issues/599","id":421854539,"node_id":"MDU6SXNzdWU0MjE4NTQ1Mzk=","number":599,"title":"Formatting breaks raw JSON pastes","user":{"login":"bbkane","id":6081085,"node_id":"MDQ6VXNlcjYwODEwODU=","avatar_url":"https://avatars3.githubusercontent.com/u/6081085?v=4","gravatar_id":"","url":"https://api.github.com/users/bbkane","html_url":"https://github.com/bbkane","followers_url":"https://api.github.com/users/bbkane/followers","following_url":"https://api.github.com/users/bbkane/following{/other_user}","gists_url":"https://api.github.com/users/bbkane/gists{/gist_id}","starred_url":"https://api.github.com/users/bbkane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbkane/subscriptions","organizations_url":"https://api.github.com/users/bbkane/orgs","repos_url":"https://api.github.com/users/bbkane/repos","events_url":"https://api.github.com/users/bbkane/events{/privacy}","received_events_url":"https://api.github.com/users/bbkane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-03-16T21:30:58Z","updated_at":"2019-03-16T21:35:48Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI'm trying to learn Elm by pasting data into a file, then `import`ing that file in `elm repl` to play with it. I also have `elm-format` auto-running on save. \r\n\r\nThis is breaking my pasted JSON object.\r\n\r\n```\r\ndata = \"[{ \"id\": 1, \"name\": \"John\", \"address\": { \"city\": \"London\", \"street\": \"A Street\", \"id\": 1 } }, { \"id\": 2, \"name\": \"Bob\", \"address\": { \"city\": \"New York\", \"street\": \"Another Street\", \"id\": 1 } }]\"\r\n```\r\n\r\nTurns into:\r\n\r\n```\r\ndata =\r\n    \"[{ \" id \": 1, \" name \": \" John \", \" address \": { \" city \": \" London \", \" street \": \" A Street \", \" id \": 1 } }, { \" id \": 2, \" name \": \" Bob \", \" address \": { \" city \": \" New York \", \" street \": \" Another Street \", \" id \": 1 } }]\"\r\n```\r\n\r\nThis is not an equivalent JSON object. Is there a way to not format raw strings like this? Also, I couldn't find any way to ignore lines with a comment (which would let me work around this). Is there a way to do that?\r\n\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/avh4/elm-format/issues/comments/473594661","html_url":"https://github.com/avh4/elm-format/issues/599#issuecomment-473594661","issue_url":"https://api.github.com/repos/avh4/elm-format/issues/599","id":473594661,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3MzU5NDY2MQ==","user":{"login":"bbkane","id":6081085,"node_id":"MDQ6VXNlcjYwODEwODU=","avatar_url":"https://avatars3.githubusercontent.com/u/6081085?v=4","gravatar_id":"","url":"https://api.github.com/users/bbkane","html_url":"https://github.com/bbkane","followers_url":"https://api.github.com/users/bbkane/followers","following_url":"https://api.github.com/users/bbkane/following{/other_user}","gists_url":"https://api.github.com/users/bbkane/gists{/gist_id}","starred_url":"https://api.github.com/users/bbkane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbkane/subscriptions","organizations_url":"https://api.github.com/users/bbkane/orgs","repos_url":"https://api.github.com/users/bbkane/repos","events_url":"https://api.github.com/users/bbkane/events{/privacy}","received_events_url":"https://api.github.com/users/bbkane/received_events","type":"User","site_admin":false},"created_at":"2019-03-16T21:35:48Z","updated_at":"2019-03-16T21:35:48Z","author_association":"NONE","body":"Hold up, just realized that I'm not escaping quotes. Looking into this..."}}
{"actor":{"display_login":"bbkane"}}