{"action":"created","issue":{"url":"https://api.github.com/repos/stleary/JSON-java/issues/241","repository_url":"https://api.github.com/repos/stleary/JSON-java","labels_url":"https://api.github.com/repos/stleary/JSON-java/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/stleary/JSON-java/issues/241/comments","events_url":"https://api.github.com/repos/stleary/JSON-java/issues/241/events","html_url":"https://github.com/stleary/JSON-java/pull/241","id":160406629,"number":241,"title":"Use Appendable in place of Writer","user":{"login":"run2000","id":7520160,"avatar_url":"https://avatars.githubusercontent.com/u/7520160?v=3","gravatar_id":"","url":"https://api.github.com/users/run2000","html_url":"https://github.com/run2000","followers_url":"https://api.github.com/users/run2000/followers","following_url":"https://api.github.com/users/run2000/following{/other_user}","gists_url":"https://api.github.com/users/run2000/gists{/gist_id}","starred_url":"https://api.github.com/users/run2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/run2000/subscriptions","organizations_url":"https://api.github.com/users/run2000/orgs","repos_url":"https://api.github.com/users/run2000/repos","events_url":"https://api.github.com/users/run2000/events{/privacy}","received_events_url":"https://api.github.com/users/run2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-06-15T12:10:30Z","updated_at":"2016-07-02T18:45:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stleary/JSON-java/pulls/241","html_url":"https://github.com/stleary/JSON-java/pull/241","diff_url":"https://github.com/stleary/JSON-java/pull/241.diff","patch_url":"https://github.com/stleary/JSON-java/pull/241.patch"},"body":"This change modifies JSONWriter to take an Appendable instead of a Writer as its constructor parameter. Appendable is an interface implemented by Writer, as well as classes such as StringBuilder.\r\n\r\nThis refactor allows JSONStringer to use a StringBuilder directly, instead of a StringWriter.\r\n\r\nIt also flows through to writeValue() in JSONObject. This in turn allows valueToString() to be simplified, simply delegating to writeValue() with StringBuilder as a parameter.\r\n\r\nI ran the test suite in JSON-Java-unit-test, which continues to pass. The code coverage varies in minor ways in JSONObject, JSONArray, and JSONWriter, due to the code reorganisation."},"comment":{"url":"https://api.github.com/repos/stleary/JSON-java/issues/comments/230116286","html_url":"https://github.com/stleary/JSON-java/pull/241#issuecomment-230116286","issue_url":"https://api.github.com/repos/stleary/JSON-java/issues/241","id":230116286,"user":{"login":"johnjaylward","id":383703,"avatar_url":"https://avatars.githubusercontent.com/u/383703?v=3","gravatar_id":"","url":"https://api.github.com/users/johnjaylward","html_url":"https://github.com/johnjaylward","followers_url":"https://api.github.com/users/johnjaylward/followers","following_url":"https://api.github.com/users/johnjaylward/following{/other_user}","gists_url":"https://api.github.com/users/johnjaylward/gists{/gist_id}","starred_url":"https://api.github.com/users/johnjaylward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnjaylward/subscriptions","organizations_url":"https://api.github.com/users/johnjaylward/orgs","repos_url":"https://api.github.com/users/johnjaylward/repos","events_url":"https://api.github.com/users/johnjaylward/events{/privacy}","received_events_url":"https://api.github.com/users/johnjaylward/received_events","type":"User","site_admin":false},"created_at":"2016-07-02T18:45:01Z","updated_at":"2016-07-02T18:45:01Z","body":"Looking at the combined changes, the permissions are not changed."}}
{"actor":{"display_login":"johnjaylward"}}