{"action":"created","issue":{"url":"https://api.github.com/repos/SAP/openui5/issues/603","labels_url":"https://api.github.com/repos/SAP/openui5/issues/603/labels{/name}","comments_url":"https://api.github.com/repos/SAP/openui5/issues/603/comments","events_url":"https://api.github.com/repos/SAP/openui5/issues/603/events","html_url":"https://github.com/SAP/openui5/issues/603","id":106970853,"number":603,"title":"invalid single quotation mark in attribute string","user":{"login":"fallflame","id":8241175,"avatar_url":"https://avatars.githubusercontent.com/u/8241175?v=3","gravatar_id":"","url":"https://api.github.com/users/fallflame","html_url":"https://github.com/fallflame","followers_url":"https://api.github.com/users/fallflame/followers","following_url":"https://api.github.com/users/fallflame/following{/other_user}","gists_url":"https://api.github.com/users/fallflame/gists{/gist_id}","starred_url":"https://api.github.com/users/fallflame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fallflame/subscriptions","organizations_url":"https://api.github.com/users/fallflame/orgs","repos_url":"https://api.github.com/users/fallflame/repos","events_url":"https://api.github.com/users/fallflame/events{/privacy}","received_events_url":"https://api.github.com/users/fallflame/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SAP/openui5/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-17T12:15:54Z","updated_at":"2015-09-17T13:55:41Z","closed_at":"2015-09-17T13:55:41Z","body":"OpenUI5 version: Latest\r\n\r\nBrowser/version (+device/version): Chrome\r\n\r\nAny other tested browsers/devices(OK/FAIL):\r\n\r\nURL (minimal example if possible):\r\n\r\nUser/password (if required and possible - do not post any confidential information here): \r\n\r\nSteps to reproduce the problem:\r\n1. follow the tutorials in https://openui5.hana.ondemand.com, \"Walkthrough\" => Step 4 : 'XML Views'\r\n2. Copy the code under \"webapp/index.html\"\r\n3. Change \"data-sap-ui-resourceroots\" attribute  \r\n\r\nfrom \r\n\r\n'{\r\n            \"sap.ui.demo.wt\": \"./\"\r\n }'\r\n\r\nto \r\n\r\n\"{\r\n            'sap.ui.demo.wt' : './'\r\n }\"\r\n\r\nWhat is the expected result?\r\n  \r\nWhat happens instead? Uncaught SyntaxError: Unexpected token '\r\n\r\nAny other information? (attach screenshot if possible)"},"comment":{"url":"https://api.github.com/repos/SAP/openui5/issues/comments/141094316","html_url":"https://github.com/SAP/openui5/issues/603#issuecomment-141094316","issue_url":"https://api.github.com/repos/SAP/openui5/issues/603","id":141094316,"user":{"login":"openben","id":9151069,"avatar_url":"https://avatars.githubusercontent.com/u/9151069?v=3","gravatar_id":"","url":"https://api.github.com/users/openben","html_url":"https://github.com/openben","followers_url":"https://api.github.com/users/openben/followers","following_url":"https://api.github.com/users/openben/following{/other_user}","gists_url":"https://api.github.com/users/openben/gists{/gist_id}","starred_url":"https://api.github.com/users/openben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openben/subscriptions","organizations_url":"https://api.github.com/users/openben/orgs","repos_url":"https://api.github.com/users/openben/repos","events_url":"https://api.github.com/users/openben/events{/privacy}","received_events_url":"https://api.github.com/users/openben/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T13:55:41Z","updated_at":"2015-09-17T13:55:41Z","body":"Hi fallflame, \r\n\r\nactually it is the case that strings in JSON need to be wrapped in double quotes, according to http://json.org/. It may be the case that serializer implementations allow usage of single quotes, but you cannot rely on that. \r\n\r\nIn your example JS recognizes the whole thing as a String, either with single or double quotes. That is why the second example results in an Error thrown by the JSON parser. \r\n\r\nKind regards, \r\nBenedikt"}}