{"action":"created","issue":{"url":"https://api.github.com/repos/breese/trial.protocol/issues/21","repository_url":"https://api.github.com/repos/breese/trial.protocol","labels_url":"https://api.github.com/repos/breese/trial.protocol/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/breese/trial.protocol/issues/21/comments","events_url":"https://api.github.com/repos/breese/trial.protocol/issues/21/events","html_url":"https://github.com/breese/trial.protocol/issues/21","id":296199801,"number":21,"title":"Tree parsing and formatting","user":{"login":"breese","id":241540,"avatar_url":"https://avatars1.githubusercontent.com/u/241540?v=4","gravatar_id":"","url":"https://api.github.com/users/breese","html_url":"https://github.com/breese","followers_url":"https://api.github.com/users/breese/followers","following_url":"https://api.github.com/users/breese/following{/other_user}","gists_url":"https://api.github.com/users/breese/gists{/gist_id}","starred_url":"https://api.github.com/users/breese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breese/subscriptions","organizations_url":"https://api.github.com/users/breese/orgs","repos_url":"https://api.github.com/users/breese/repos","events_url":"https://api.github.com/users/breese/events{/privacy}","received_events_url":"https://api.github.com/users/breese/received_events","type":"User","site_admin":false},"labels":[{"id":220049658,"url":"https://api.github.com/repos/breese/trial.protocol/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2018-02-11T15:48:33Z","updated_at":"2018-03-06T20:54:07Z","closed_at":null,"author_association":"OWNER","body":"I have added a tentative version of tree parsing and formatting of JSON in the [feature/tree](https://github.com/breese/trial.protocol/tree/feature/tree) branch. I would like to solicit feedback on this before it enters the develop branch.\r\n\r\nThe API is fairly straight-forward:\r\n```\r\n// Converts a JSON formatted input buffer into a dynamic::variable.\r\n// The input buffer must be one of the supported buffer types (e.g. std::string, std::ostringstream, std::vector)\r\n// <trial/protocol/json/parse.hpp>\r\ntemplate <typename BufferType>\r\ndynamic::variable parse(BufferType input);\r\n\r\n// Converts a dynamic::variable into a JSON formatted output buffer.\r\n// The output buffer is created.\r\n// <trial/protocol/json/format.hpp>\r\ntemplate <typename BufferType>\r\nBufferType format(dynamic::variable);\r\n\r\n// Converts a dynamic::variable into a JSON formatted output buffer.\r\n// The output buffer is supplied by the user.\r\n// <trial/protocol/json/format.hpp>\r\ntemplate <typename BufferType>\r\nvoid format(dynamic::variable, BufferType&);\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/breese/trial.protocol/issues/comments/370924533","html_url":"https://github.com/breese/trial.protocol/issues/21#issuecomment-370924533","issue_url":"https://api.github.com/repos/breese/trial.protocol/issues/21","id":370924533,"user":{"login":"breese","id":241540,"avatar_url":"https://avatars1.githubusercontent.com/u/241540?v=4","gravatar_id":"","url":"https://api.github.com/users/breese","html_url":"https://github.com/breese","followers_url":"https://api.github.com/users/breese/followers","following_url":"https://api.github.com/users/breese/following{/other_user}","gists_url":"https://api.github.com/users/breese/gists{/gist_id}","starred_url":"https://api.github.com/users/breese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breese/subscriptions","organizations_url":"https://api.github.com/users/breese/orgs","repos_url":"https://api.github.com/users/breese/repos","events_url":"https://api.github.com/users/breese/events{/privacy}","received_events_url":"https://api.github.com/users/breese/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T20:54:07Z","updated_at":"2018-03-06T20:54:07Z","author_association":"OWNER","body":"Bintoken added in d69064935940e8a868fc35a408039597e72360b1"}}
{"actor":{"display_login":"breese"}}