{"action":"created","issue":{"url":"https://api.github.com/repos/SimonSapin/kuchiki/issues/7","labels_url":"https://api.github.com/repos/SimonSapin/kuchiki/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/SimonSapin/kuchiki/issues/7/comments","events_url":"https://api.github.com/repos/SimonSapin/kuchiki/issues/7/events","html_url":"https://github.com/SimonSapin/kuchiki/pull/7","id":90794569,"number":7,"title":"Add initial support for writing Nodes into files","user":{"login":"Ygg01","id":1146204,"avatar_url":"https://avatars.githubusercontent.com/u/1146204?v=3","gravatar_id":"","url":"https://api.github.com/users/Ygg01","html_url":"https://github.com/Ygg01","followers_url":"https://api.github.com/users/Ygg01/followers","following_url":"https://api.github.com/users/Ygg01/following{/other_user}","gists_url":"https://api.github.com/users/Ygg01/gists{/gist_id}","starred_url":"https://api.github.com/users/Ygg01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ygg01/subscriptions","organizations_url":"https://api.github.com/users/Ygg01/orgs","repos_url":"https://api.github.com/users/Ygg01/repos","events_url":"https://api.github.com/users/Ygg01/events{/privacy}","received_events_url":"https://api.github.com/users/Ygg01/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-24T22:30:15Z","updated_at":"2015-06-26T11:09:26Z","closed_at":"2015-06-26T11:09:21Z","pull_request":{"url":"https://api.github.com/repos/SimonSapin/kuchiki/pulls/7","html_url":"https://github.com/SimonSapin/kuchiki/pull/7","diff_url":"https://github.com/SimonSapin/kuchiki/pull/7.diff","patch_url":"https://github.com/SimonSapin/kuchiki/pull/7.patch"},"body":"This is the most rudimentary form of support for writing nodes/documents into files.\r\n\r\nIt takes current `to_string()` method and writes it into a newly created file. This is probably horrible performance wise. If file can't be created or written it returns `io::Error`.\r\n\r\nFuture improvements could include some other customization options, like finer granularity writing method (`char`, `byte`, `&str`, etc. (See [this RFC](https://github.com/rust-lang/rfcs/blob/ff6283a6f3507ac51957e9471a697781c7e60c2d/active/0000-text-streams.md) for further inspiration).\r\n"},"comment":{"url":"https://api.github.com/repos/SimonSapin/kuchiki/issues/comments/115648908","html_url":"https://github.com/SimonSapin/kuchiki/pull/7#issuecomment-115648908","issue_url":"https://api.github.com/repos/SimonSapin/kuchiki/issues/7","id":115648908,"user":{"login":"SimonSapin","id":291359,"avatar_url":"https://avatars.githubusercontent.com/u/291359?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonSapin","html_url":"https://github.com/SimonSapin","followers_url":"https://api.github.com/users/SimonSapin/followers","following_url":"https://api.github.com/users/SimonSapin/following{/other_user}","gists_url":"https://api.github.com/users/SimonSapin/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonSapin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonSapin/subscriptions","organizations_url":"https://api.github.com/users/SimonSapin/orgs","repos_url":"https://api.github.com/users/SimonSapin/repos","events_url":"https://api.github.com/users/SimonSapin/events{/privacy}","received_events_url":"https://api.github.com/users/SimonSapin/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T11:09:26Z","updated_at":"2015-06-26T11:09:26Z","body":"Looks good!"}}