{"action":"created","issue":{"url":"https://api.github.com/repos/rollup/rollup-plugin-json/issues/11","repository_url":"https://api.github.com/repos/rollup/rollup-plugin-json","labels_url":"https://api.github.com/repos/rollup/rollup-plugin-json/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/rollup/rollup-plugin-json/issues/11/comments","events_url":"https://api.github.com/repos/rollup/rollup-plugin-json/issues/11/events","html_url":"https://github.com/rollup/rollup-plugin-json/issues/11","id":170261733,"number":11,"title":"Quoted properties generate invalid JavaScript","user":{"login":"tmcw","id":32314,"avatar_url":"https://avatars.githubusercontent.com/u/32314?v=3","gravatar_id":"","url":"https://api.github.com/users/tmcw","html_url":"https://github.com/tmcw","followers_url":"https://api.github.com/users/tmcw/followers","following_url":"https://api.github.com/users/tmcw/following{/other_user}","gists_url":"https://api.github.com/users/tmcw/gists{/gist_id}","starred_url":"https://api.github.com/users/tmcw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmcw/subscriptions","organizations_url":"https://api.github.com/users/tmcw/orgs","repos_url":"https://api.github.com/users/tmcw/repos","events_url":"https://api.github.com/users/tmcw/events{/privacy}","received_events_url":"https://api.github.com/users/tmcw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rollup/rollup-plugin-json/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-09T20:24:18Z","updated_at":"2016-10-03T15:21:48Z","closed_at":null,"body":"I'm using rollup with the [iD](https://github.com/openstreetmap/iD) project and it's lovely! We're running into one problem importing a large JSON file that includes escaped quotes as property keys. rollup-plugin-json transforms these keys, unescaping the quotes and producing invalid JavaScript:\r\n\r\n![2016-08-09 at 1 23 pm](https://cloud.githubusercontent.com/assets/32314/17532246/8e39dc72-5e34-11e6-8014-c716ae278749.png)\r\n\r\nI'll push a failing testcase in a moment."},"comment":{"url":"https://api.github.com/repos/rollup/rollup-plugin-json/issues/comments/251136132","html_url":"https://github.com/rollup/rollup-plugin-json/issues/11#issuecomment-251136132","issue_url":"https://api.github.com/repos/rollup/rollup-plugin-json/issues/11","id":251136132,"user":{"login":"Victorystick","id":703602,"avatar_url":"https://avatars.githubusercontent.com/u/703602?v=3","gravatar_id":"","url":"https://api.github.com/users/Victorystick","html_url":"https://github.com/Victorystick","followers_url":"https://api.github.com/users/Victorystick/followers","following_url":"https://api.github.com/users/Victorystick/following{/other_user}","gists_url":"https://api.github.com/users/Victorystick/gists{/gist_id}","starred_url":"https://api.github.com/users/Victorystick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victorystick/subscriptions","organizations_url":"https://api.github.com/users/Victorystick/orgs","repos_url":"https://api.github.com/users/Victorystick/repos","events_url":"https://api.github.com/users/Victorystick/events{/privacy}","received_events_url":"https://api.github.com/users/Victorystick/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T15:21:48Z","updated_at":"2016-10-03T15:21:48Z","body":"@tmcw The first options sounds best to me. Transforming property names will only bring about more headache. How will we transform something like this in a way that is intuitive?\r\n\r\n```json\r\n{\r\n  \"fooBar\": 1,\r\n  \"foo bar\": 2,\r\n  \"foo-bar\": 3\r\n}\r\n```"}}
{"actor":{"display_login":"Victorystick"}}