{"action":"closed","issue":{"url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/2882","labels_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/2882/labels{/name}","comments_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/2882/comments","events_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/2882/events","html_url":"https://github.com/Yoast/wordpress-seo/issues/2882","id":103451096,"number":2882,"title":"Making util for wp_json_encode","user":{"login":"andizer","id":325040,"avatar_url":"https://avatars.githubusercontent.com/u/325040?v=3","gravatar_id":"","url":"https://api.github.com/users/andizer","html_url":"https://github.com/andizer","followers_url":"https://api.github.com/users/andizer/followers","following_url":"https://api.github.com/users/andizer/following{/other_user}","gists_url":"https://api.github.com/users/andizer/gists{/gist_id}","starred_url":"https://api.github.com/users/andizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andizer/subscriptions","organizations_url":"https://api.github.com/users/andizer/orgs","repos_url":"https://api.github.com/users/andizer/repos","events_url":"https://api.github.com/users/andizer/events{/privacy}","received_events_url":"https://api.github.com/users/andizer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Yoast/wordpress-seo/labels/code-review","name":"code-review","color":"78BDF2"},{"url":"https://api.github.com/repos/Yoast/wordpress-seo/labels/enhancement","name":"enhancement","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-27T08:01:51Z","updated_at":"2015-10-01T13:07:21Z","closed_at":"2015-10-01T13:07:21Z","body":"Instead of checking every where it's better to make a wrapper method for the `json_encode` / `wp_json_encode`. This prevent checking if the method exists everywhere."}}