{"action":"created","issue":{"url":"https://api.github.com/repos/imzhenyu/rDSN/issues/397","repository_url":"https://api.github.com/repos/imzhenyu/rDSN","labels_url":"https://api.github.com/repos/imzhenyu/rDSN/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/imzhenyu/rDSN/issues/397/comments","events_url":"https://api.github.com/repos/imzhenyu/rDSN/issues/397/events","html_url":"https://github.com/imzhenyu/rDSN/issues/397","id":158860180,"number":397,"title":"serialized json str with thrift is hard to read","user":{"login":"shengofsun","id":1041832,"avatar_url":"https://avatars.githubusercontent.com/u/1041832?v=3","gravatar_id":"","url":"https://api.github.com/users/shengofsun","html_url":"https://github.com/shengofsun","followers_url":"https://api.github.com/users/shengofsun/followers","following_url":"https://api.github.com/users/shengofsun/following{/other_user}","gists_url":"https://api.github.com/users/shengofsun/gists{/gist_id}","starred_url":"https://api.github.com/users/shengofsun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shengofsun/subscriptions","organizations_url":"https://api.github.com/users/shengofsun/orgs","repos_url":"https://api.github.com/users/shengofsun/repos","events_url":"https://api.github.com/users/shengofsun/events{/privacy}","received_events_url":"https://api.github.com/users/shengofsun/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-07T07:48:41Z","updated_at":"2016-06-24T01:29:07Z","closed_at":"2016-06-24T01:29:06Z","body":"The following is a \"partition_configuration\" structure generated by thrift's json protocol: \r\n\"{\"0\":{\"rec\":{\"1\":{\"rec\":1},\"2\":{\"i64\":0},\"3\":{\"i32\":3},\"4\":{\"rec\":0},\"5\":{\"lst\":[\"rec\",0]},\"6\":{\"lst\":[\"rec\",0]},\"7\":{\"i64\":0}}}}\".\r\n\r\nAs we all know we want json to help us to debug our system, but I think messages like may be useless.\r\n\r\nBesides, the json format is not consistent with the old ones generated by @glglwty 's \"json_helper\", which means that we can't easily upgrade meta server to the new version for the running service in xiaomi.\r\n\r\nHow about continuing to use the old json generator? Or is there anyone who knows something about the protobuf's json generator? @imzhenyu @glglwty @ykwd \r\n"},"comment":{"url":"https://api.github.com/repos/imzhenyu/rDSN/issues/comments/228233326","html_url":"https://github.com/imzhenyu/rDSN/issues/397#issuecomment-228233326","issue_url":"https://api.github.com/repos/imzhenyu/rDSN/issues/397","id":228233326,"user":{"login":"shengofsun","id":1041832,"avatar_url":"https://avatars.githubusercontent.com/u/1041832?v=3","gravatar_id":"","url":"https://api.github.com/users/shengofsun","html_url":"https://github.com/shengofsun","followers_url":"https://api.github.com/users/shengofsun/followers","following_url":"https://api.github.com/users/shengofsun/following{/other_user}","gists_url":"https://api.github.com/users/shengofsun/gists{/gist_id}","starred_url":"https://api.github.com/users/shengofsun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shengofsun/subscriptions","organizations_url":"https://api.github.com/users/shengofsun/orgs","repos_url":"https://api.github.com/users/shengofsun/repos","events_url":"https://api.github.com/users/shengofsun/events{/privacy}","received_events_url":"https://api.github.com/users/shengofsun/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T01:29:06Z","updated_at":"2016-06-24T01:29:06Z","body":"json state stored in meta state service have been replaced by standard json. "}}
{"actor":{"display_login":"shengofsun"}}