{"action":"created","issue":{"url":"https://api.github.com/repos/japankun/bbs.jpnkn.com/issues/9","repository_url":"https://api.github.com/repos/japankun/bbs.jpnkn.com","labels_url":"https://api.github.com/repos/japankun/bbs.jpnkn.com/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/japankun/bbs.jpnkn.com/issues/9/comments","events_url":"https://api.github.com/repos/japankun/bbs.jpnkn.com/issues/9/events","html_url":"https://github.com/japankun/bbs.jpnkn.com/issues/9","id":462719731,"node_id":"MDU6SXNzdWU0NjI3MTk3MzE=","number":9,"title":"age/sageを実装したい","user":{"login":"japankun","id":7452697,"node_id":"MDQ6VXNlcjc0NTI2OTc=","avatar_url":"https://avatars2.githubusercontent.com/u/7452697?v=4","gravatar_id":"","url":"https://api.github.com/users/japankun","html_url":"https://github.com/japankun","followers_url":"https://api.github.com/users/japankun/followers","following_url":"https://api.github.com/users/japankun/following{/other_user}","gists_url":"https://api.github.com/users/japankun/gists{/gist_id}","starred_url":"https://api.github.com/users/japankun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/japankun/subscriptions","organizations_url":"https://api.github.com/users/japankun/orgs","repos_url":"https://api.github.com/users/japankun/repos","events_url":"https://api.github.com/users/japankun/events{/privacy}","received_events_url":"https://api.github.com/users/japankun/received_events","type":"User","site_admin":false},"labels":[{"id":1247551201,"node_id":"MDU6TGFiZWwxMjQ3NTUxMjAx","url":"https://api.github.com/repos/japankun/bbs.jpnkn.com/labels/%E6%8B%A1%E5%BC%B5","name":"拡張","color":"a2eeef","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-07-01T13:38:04Z","updated_at":"2019-08-04T10:04:42Z","closed_at":null,"author_association":"OWNER","body":"subject.txtの更新処理に付け加える"},"comment":{"url":"https://api.github.com/repos/japankun/bbs.jpnkn.com/issues/comments/517990117","html_url":"https://github.com/japankun/bbs.jpnkn.com/issues/9#issuecomment-517990117","issue_url":"https://api.github.com/repos/japankun/bbs.jpnkn.com/issues/9","id":517990117,"node_id":"MDEyOklzc3VlQ29tbWVudDUxNzk5MDExNw==","user":{"login":"japankun","id":7452697,"node_id":"MDQ6VXNlcjc0NTI2OTc=","avatar_url":"https://avatars2.githubusercontent.com/u/7452697?v=4","gravatar_id":"","url":"https://api.github.com/users/japankun","html_url":"https://github.com/japankun","followers_url":"https://api.github.com/users/japankun/followers","following_url":"https://api.github.com/users/japankun/following{/other_user}","gists_url":"https://api.github.com/users/japankun/gists{/gist_id}","starred_url":"https://api.github.com/users/japankun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/japankun/subscriptions","organizations_url":"https://api.github.com/users/japankun/orgs","repos_url":"https://api.github.com/users/japankun/repos","events_url":"https://api.github.com/users/japankun/events{/privacy}","received_events_url":"https://api.github.com/users/japankun/received_events","type":"User","site_admin":false},"created_at":"2019-08-04T10:04:42Z","updated_at":"2019-08-04T10:04:42Z","author_association":"OWNER","body":"内部的にはこうなってた。\r\n\r\n```json\r\n{\"1561165352\":{\"threadFile\":\"1561165352\",\"threadTitle\":\"abcd\",\"resCount\":1}},\r\n{\"1562893129\":{\"threadFile\":\"1562893129\",\"threadTitle\":\"efgh\",\"resCount\":1}},\r\n```\r\n\r\n機能的にはこれでage相当の処理ができる\r\n```php\r\nfunction age ($json, $threadkey) {\r\n\r\n        $buff[$threadkey] = $json[$threadkey];\r\n        unset($json[$threadkey]);\r\n\r\n        return $buff + $json;\r\n\r\n}\r\n```"}}
{"actor":{"display_login":"japankun"}}