{"action":"created","issue":{"url":"https://api.github.com/repos/mesosphere/universe/issues/1561","repository_url":"https://api.github.com/repos/mesosphere/universe","labels_url":"https://api.github.com/repos/mesosphere/universe/issues/1561/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/universe/issues/1561/comments","events_url":"https://api.github.com/repos/mesosphere/universe/issues/1561/events","html_url":"https://github.com/mesosphere/universe/pull/1561","id":280827240,"number":1561,"title":"Fix escaping difference in cosmos","user":{"login":"benclarkwood","id":4732025,"avatar_url":"https://avatars3.githubusercontent.com/u/4732025?v=4","gravatar_id":"","url":"https://api.github.com/users/benclarkwood","html_url":"https://github.com/benclarkwood","followers_url":"https://api.github.com/users/benclarkwood/followers","following_url":"https://api.github.com/users/benclarkwood/following{/other_user}","gists_url":"https://api.github.com/users/benclarkwood/gists{/gist_id}","starred_url":"https://api.github.com/users/benclarkwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benclarkwood/subscriptions","organizations_url":"https://api.github.com/users/benclarkwood/orgs","repos_url":"https://api.github.com/users/benclarkwood/repos","events_url":"https://api.github.com/users/benclarkwood/events{/privacy}","received_events_url":"https://api.github.com/users/benclarkwood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-12-10T17:34:37Z","updated_at":"2017-12-11T17:53:36Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/mesosphere/universe/pulls/1561","html_url":"https://github.com/mesosphere/universe/pull/1561","diff_url":"https://github.com/mesosphere/universe/pull/1561.diff","patch_url":"https://github.com/mesosphere/universe/pull/1561.patch"},"body":" Prior to 1.10, Cosmos had a rendering bug (fixed by https://github.com/dcos/cosmos/commit/42c35b13527586daeba3359d1ed0602a59e7708d) that required\r\n stringified JSON to be doubly escaped. This was corrected\r\n in 1.10, but it means that packages with stringified JSON parameters\r\n that need to bridge versions must be accomodated.\r\n```\r\n < 1.9 style escaping:\r\n \\\\\\\"field\\\\\\\": \\\\\\\"value\\\\\\\"\r\n\r\n >= 1.10 style escaping:\r\n \\\"field\\\": \\\"value\\\"\r\n```\r\n\r\nThis uses a regex to detect \\\" and replace it with \\\\\\\" if version < 1.10. I can rewrite it as a parser if we're worried about having a regex."},"comment":{"url":"https://api.github.com/repos/mesosphere/universe/issues/comments/350803489","html_url":"https://github.com/mesosphere/universe/pull/1561#issuecomment-350803489","issue_url":"https://api.github.com/repos/mesosphere/universe/issues/1561","id":350803489,"user":{"login":"benclarkwood","id":4732025,"avatar_url":"https://avatars3.githubusercontent.com/u/4732025?v=4","gravatar_id":"","url":"https://api.github.com/users/benclarkwood","html_url":"https://github.com/benclarkwood","followers_url":"https://api.github.com/users/benclarkwood/followers","following_url":"https://api.github.com/users/benclarkwood/following{/other_user}","gists_url":"https://api.github.com/users/benclarkwood/gists{/gist_id}","starred_url":"https://api.github.com/users/benclarkwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benclarkwood/subscriptions","organizations_url":"https://api.github.com/users/benclarkwood/orgs","repos_url":"https://api.github.com/users/benclarkwood/repos","events_url":"https://api.github.com/users/benclarkwood/events{/privacy}","received_events_url":"https://api.github.com/users/benclarkwood/received_events","type":"User","site_admin":false},"created_at":"2017-12-11T17:53:36Z","updated_at":"2017-12-11T17:53:36Z","author_association":"CONTRIBUTOR","body":"Once we merge a fix, we will have to update the universe converter of couse."}}
{"actor":{"display_login":"benclarkwood"}}