{"action":"reopened","number":18,"pull_request":{"url":"https://api.github.com/repos/chibicode/react-json-tree/pulls/18","id":54773750,"html_url":"https://github.com/chibicode/react-json-tree/pull/18","diff_url":"https://github.com/chibicode/react-json-tree/pull/18.diff","patch_url":"https://github.com/chibicode/react-json-tree/pull/18.patch","issue_url":"https://api.github.com/repos/chibicode/react-json-tree/issues/18","number":18,"state":"open","locked":false,"title":"Support new `labelRenderer` and `valueRenderer` properties","user":{"login":"bvaughn","id":29597,"avatar_url":"https://avatars.githubusercontent.com/u/29597?v=3","gravatar_id":"","url":"https://api.github.com/users/bvaughn","html_url":"https://github.com/bvaughn","followers_url":"https://api.github.com/users/bvaughn/followers","following_url":"https://api.github.com/users/bvaughn/following{/other_user}","gists_url":"https://api.github.com/users/bvaughn/gists{/gist_id}","starred_url":"https://api.github.com/users/bvaughn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvaughn/subscriptions","organizations_url":"https://api.github.com/users/bvaughn/orgs","repos_url":"https://api.github.com/users/bvaughn/repos","events_url":"https://api.github.com/users/bvaughn/events{/privacy}","received_events_url":"https://api.github.com/users/bvaughn/received_events","type":"User","site_admin":false},"body":"In order to support bvaughn/redux-devtools-filterable-log-monitor/issues/8, I need finer-grained control over what is rendered for node keys and values. So I set out to add 2 new properties: `labelRenderer` and `valueRenderer`.\r\n\r\nAlong the way I also noticed a _lot_ of repetition between classes (`JSONBooleanNode`, `JSONDateNode`, `JSONFunctionNode`, `JSONNullNode`, `JSONNumberNode`, and `JSONUndefinedNode`- and even `JSONArrayNode`, `JSONIterableNode`, and `JSONObjectNode`). So I did some refactoring to tidy things up a bit. I hope I didn't take too much liberty by doing this.\r\n\r\nI'd love to see this feature merged and I'd be willing to make any changes you feel necessary. Please feel free to reach out to me and we can chat. :)","created_at":"2015-12-30T02:36:03Z","updated_at":"2015-12-30T15:34:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8003d60007832f08e4ea020da4a48f0d8b686be0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chibicode/react-json-tree/pulls/18/commits","review_comments_url":"https://api.github.com/repos/chibicode/react-json-tree/pulls/18/comments","review_comment_url":"https://api.github.com/repos/chibicode/react-json-tree/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chibicode/react-json-tree/issues/18/comments","statuses_url":"https://api.github.com/repos/chibicode/react-json-tree/statuses/20da725b8502edc506dbb0977e21a38af23fc674","head":{"label":"bvaughn:master","ref":"master","sha":"20da725b8502edc506dbb0977e21a38af23fc674","user":{"login":"bvaughn","id":29597,"avatar_url":"https://avatars.githubusercontent.com/u/29597?v=3","gravatar_id":"","url":"https://api.github.com/users/bvaughn","html_url":"https://github.com/bvaughn","followers_url":"https://api.github.com/users/bvaughn/followers","following_url":"https://api.github.com/users/bvaughn/following{/other_user}","gists_url":"https://api.github.com/users/bvaughn/gists{/gist_id}","starred_url":"https://api.github.com/users/bvaughn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvaughn/subscriptions","organizations_url":"https://api.github.com/users/bvaughn/orgs","repos_url":"https://api.github.com/users/bvaughn/repos","events_url":"https://api.github.com/users/bvaughn/events{/privacy}","received_events_url":"https://api.github.com/users/bvaughn/received_events","type":"User","site_admin":false},"repo":{"id":48763726,"name":"react-json-tree","full_name":"bvaughn/react-json-tree","owner":{"login":"bvaughn","id":29597,"avatar_url":"https://avatars.githubusercontent.com/u/29597?v=3","gravatar_id":"","url":"https://api.github.com/users/bvaughn","html_url":"https://github.com/bvaughn","followers_url":"https://api.github.com/users/bvaughn/followers","following_url":"https://api.github.com/users/bvaughn/following{/other_user}","gists_url":"https://api.github.com/users/bvaughn/gists{/gist_id}","starred_url":"https://api.github.com/users/bvaughn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvaughn/subscriptions","organizations_url":"https://api.github.com/users/bvaughn/orgs","repos_url":"https://api.github.com/users/bvaughn/repos","events_url":"https://api.github.com/users/bvaughn/events{/privacy}","received_events_url":"https://api.github.com/users/bvaughn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bvaughn/react-json-tree","description":"React JSON Viewer Component, Extracted from redux-devtools","fork":true,"url":"https://api.github.com/repos/bvaughn/react-json-tree","forks_url":"https://api.github.com/repos/bvaughn/react-json-tree/forks","keys_url":"https://api.github.com/repos/bvaughn/react-json-tree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bvaughn/react-json-tree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bvaughn/react-json-tree/teams","hooks_url":"https://api.github.com/repos/bvaughn/react-json-tree/hooks","issue_events_url":"https://api.github.com/repos/bvaughn/react-json-tree/issues/events{/number}","events_url":"https://api.github.com/repos/bvaughn/react-json-tree/events","assignees_url":"https://api.github.com/repos/bvaughn/react-json-tree/assignees{/user}","branches_url":"https://api.github.com/repos/bvaughn/react-json-tree/branches{/branch}","tags_url":"https://api.github.com/repos/bvaughn/react-json-tree/tags","blobs_url":"https://api.github.com/repos/bvaughn/react-json-tree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bvaughn/react-json-tree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bvaughn/react-json-tree/git/refs{/sha}","trees_url":"https://api.github.com/repos/bvaughn/react-json-tree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bvaughn/react-json-tree/statuses/{sha}","languages_url":"https://api.github.com/repos/bvaughn/react-json-tree/languages","stargazers_url":"https://api.github.com/repos/bvaughn/react-json-tree/stargazers","contributors_url":"https://api.github.com/repos/bvaughn/react-json-tree/contributors","subscribers_url":"https://api.github.com/repos/bvaughn/react-json-tree/subscribers","subscription_url":"https://api.github.com/repos/bvaughn/react-json-tree/subscription","commits_url":"https://api.github.com/repos/bvaughn/react-json-tree/commits{/sha}","git_commits_url":"https://api.github.com/repos/bvaughn/react-json-tree/git/commits{/sha}","comments_url":"https://api.github.com/repos/bvaughn/react-json-tree/comments{/number}","issue_comment_url":"https://api.github.com/repos/bvaughn/react-json-tree/issues/comments{/number}","contents_url":"https://api.github.com/repos/bvaughn/react-json-tree/contents/{+path}","compare_url":"https://api.github.com/repos/bvaughn/react-json-tree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bvaughn/react-json-tree/merges","archive_url":"https://api.github.com/repos/bvaughn/react-json-tree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bvaughn/react-json-tree/downloads","issues_url":"https://api.github.com/repos/bvaughn/react-json-tree/issues{/number}","pulls_url":"https://api.github.com/repos/bvaughn/react-json-tree/pulls{/number}","milestones_url":"https://api.github.com/repos/bvaughn/react-json-tree/milestones{/number}","notifications_url":"https://api.github.com/repos/bvaughn/react-json-tree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bvaughn/react-json-tree/labels{/name}","releases_url":"https://api.github.com/repos/bvaughn/react-json-tree/releases{/id}","created_at":"2015-12-29T19:29:29Z","updated_at":"2015-12-29T19:29:30Z","pushed_at":"2015-12-30T15:34:54Z","git_url":"git://github.com/bvaughn/react-json-tree.git","ssh_url":"git@github.com:bvaughn/react-json-tree.git","clone_url":"https://github.com/bvaughn/react-json-tree.git","svn_url":"https://github.com/bvaughn/react-json-tree","homepage":null,"size":48,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chibicode:master","ref":"master","sha":"d37ecea16027dae64bda561332a5bbce00587886","user":{"login":"chibicode","id":992008,"avatar_url":"https://avatars.githubusercontent.com/u/992008?v=3","gravatar_id":"","url":"https://api.github.com/users/chibicode","html_url":"https://github.com/chibicode","followers_url":"https://api.github.com/users/chibicode/followers","following_url":"https://api.github.com/users/chibicode/following{/other_user}","gists_url":"https://api.github.com/users/chibicode/gists{/gist_id}","starred_url":"https://api.github.com/users/chibicode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chibicode/subscriptions","organizations_url":"https://api.github.com/users/chibicode/orgs","repos_url":"https://api.github.com/users/chibicode/repos","events_url":"https://api.github.com/users/chibicode/events{/privacy}","received_events_url":"https://api.github.com/users/chibicode/received_events","type":"User","site_admin":false},"repo":{"id":41331693,"name":"react-json-tree","full_name":"chibicode/react-json-tree","owner":{"login":"chibicode","id":992008,"avatar_url":"https://avatars.githubusercontent.com/u/992008?v=3","gravatar_id":"","url":"https://api.github.com/users/chibicode","html_url":"https://github.com/chibicode","followers_url":"https://api.github.com/users/chibicode/followers","following_url":"https://api.github.com/users/chibicode/following{/other_user}","gists_url":"https://api.github.com/users/chibicode/gists{/gist_id}","starred_url":"https://api.github.com/users/chibicode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chibicode/subscriptions","organizations_url":"https://api.github.com/users/chibicode/orgs","repos_url":"https://api.github.com/users/chibicode/repos","events_url":"https://api.github.com/users/chibicode/events{/privacy}","received_events_url":"https://api.github.com/users/chibicode/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chibicode/react-json-tree","description":"React JSON Viewer Component, Extracted from redux-devtools","fork":false,"url":"https://api.github.com/repos/chibicode/react-json-tree","forks_url":"https://api.github.com/repos/chibicode/react-json-tree/forks","keys_url":"https://api.github.com/repos/chibicode/react-json-tree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chibicode/react-json-tree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chibicode/react-json-tree/teams","hooks_url":"https://api.github.com/repos/chibicode/react-json-tree/hooks","issue_events_url":"https://api.github.com/repos/chibicode/react-json-tree/issues/events{/number}","events_url":"https://api.github.com/repos/chibicode/react-json-tree/events","assignees_url":"https://api.github.com/repos/chibicode/react-json-tree/assignees{/user}","branches_url":"https://api.github.com/repos/chibicode/react-json-tree/branches{/branch}","tags_url":"https://api.github.com/repos/chibicode/react-json-tree/tags","blobs_url":"https://api.github.com/repos/chibicode/react-json-tree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chibicode/react-json-tree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chibicode/react-json-tree/git/refs{/sha}","trees_url":"https://api.github.com/repos/chibicode/react-json-tree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chibicode/react-json-tree/statuses/{sha}","languages_url":"https://api.github.com/repos/chibicode/react-json-tree/languages","stargazers_url":"https://api.github.com/repos/chibicode/react-json-tree/stargazers","contributors_url":"https://api.github.com/repos/chibicode/react-json-tree/contributors","subscribers_url":"https://api.github.com/repos/chibicode/react-json-tree/subscribers","subscription_url":"https://api.github.com/repos/chibicode/react-json-tree/subscription","commits_url":"https://api.github.com/repos/chibicode/react-json-tree/commits{/sha}","git_commits_url":"https://api.github.com/repos/chibicode/react-json-tree/git/commits{/sha}","comments_url":"https://api.github.com/repos/chibicode/react-json-tree/comments{/number}","issue_comment_url":"https://api.github.com/repos/chibicode/react-json-tree/issues/comments{/number}","contents_url":"https://api.github.com/repos/chibicode/react-json-tree/contents/{+path}","compare_url":"https://api.github.com/repos/chibicode/react-json-tree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chibicode/react-json-tree/merges","archive_url":"https://api.github.com/repos/chibicode/react-json-tree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chibicode/react-json-tree/downloads","issues_url":"https://api.github.com/repos/chibicode/react-json-tree/issues{/number}","pulls_url":"https://api.github.com/repos/chibicode/react-json-tree/pulls{/number}","milestones_url":"https://api.github.com/repos/chibicode/react-json-tree/milestones{/number}","notifications_url":"https://api.github.com/repos/chibicode/react-json-tree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chibicode/react-json-tree/labels{/name}","releases_url":"https://api.github.com/repos/chibicode/react-json-tree/releases{/id}","created_at":"2015-08-24T23:15:22Z","updated_at":"2015-12-30T09:53:32Z","pushed_at":"2015-12-30T02:36:04Z","git_url":"git://github.com/chibicode/react-json-tree.git","ssh_url":"git@github.com:chibicode/react-json-tree.git","clone_url":"https://github.com/chibicode/react-json-tree.git","svn_url":"https://github.com/chibicode/react-json-tree","homepage":null,"size":274,"stargazers_count":135,"watchers_count":135,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":3,"forks":15,"open_issues":3,"watchers":135,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chibicode/react-json-tree/pulls/18"},"html":{"href":"https://github.com/chibicode/react-json-tree/pull/18"},"issue":{"href":"https://api.github.com/repos/chibicode/react-json-tree/issues/18"},"comments":{"href":"https://api.github.com/repos/chibicode/react-json-tree/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/chibicode/react-json-tree/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/chibicode/react-json-tree/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chibicode/react-json-tree/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/chibicode/react-json-tree/statuses/20da725b8502edc506dbb0977e21a38af23fc674"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":4,"review_comments":0,"commits":4,"additions":425,"deletions":695,"changed_files":15}}