{"action":"created","issue":{"url":"https://api.github.com/repos/lodash/lodash/issues/1481","labels_url":"https://api.github.com/repos/lodash/lodash/issues/1481/labels{/name}","comments_url":"https://api.github.com/repos/lodash/lodash/issues/1481/comments","events_url":"https://api.github.com/repos/lodash/lodash/issues/1481/events","html_url":"https://github.com/lodash/lodash/pull/1481","id":107834469,"number":1481,"title":"Add `_.isJSON` function","user":{"login":"hairyhenderson","id":2037086,"avatar_url":"https://avatars.githubusercontent.com/u/2037086?v=3","gravatar_id":"","url":"https://api.github.com/users/hairyhenderson","html_url":"https://github.com/hairyhenderson","followers_url":"https://api.github.com/users/hairyhenderson/followers","following_url":"https://api.github.com/users/hairyhenderson/following{/other_user}","gists_url":"https://api.github.com/users/hairyhenderson/gists{/gist_id}","starred_url":"https://api.github.com/users/hairyhenderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairyhenderson/subscriptions","organizations_url":"https://api.github.com/users/hairyhenderson/orgs","repos_url":"https://api.github.com/users/hairyhenderson/repos","events_url":"https://api.github.com/users/hairyhenderson/events{/privacy}","received_events_url":"https://api.github.com/users/hairyhenderson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lodash/lodash/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/lodash/lodash/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-23T01:28:34Z","updated_at":"2015-09-23T15:37:22Z","closed_at":"2015-09-23T02:09:37Z","pull_request":{"url":"https://api.github.com/repos/lodash/lodash/pulls/1481","html_url":"https://github.com/lodash/lodash/pull/1481","diff_url":"https://github.com/lodash/lodash/pull/1481.diff","patch_url":"https://github.com/lodash/lodash/pull/1481.patch"},"body":"Here's an `_.isJSON` function to help clean up code that would otherwise be littered with `try { JSON.parse(...); } catch (e) { }`.\r\n\r\nI'm pretty sure that the performance of this function could be improved, but this is a simple first cut.\r\n\r\nSigned-off-by: Dave Henderson <dhenderson@gmail.com>"},"comment":{"url":"https://api.github.com/repos/lodash/lodash/issues/comments/142641843","html_url":"https://github.com/lodash/lodash/pull/1481#issuecomment-142641843","issue_url":"https://api.github.com/repos/lodash/lodash/issues/1481","id":142641843,"user":{"login":"hairyhenderson","id":2037086,"avatar_url":"https://avatars.githubusercontent.com/u/2037086?v=3","gravatar_id":"","url":"https://api.github.com/users/hairyhenderson","html_url":"https://github.com/hairyhenderson","followers_url":"https://api.github.com/users/hairyhenderson/followers","following_url":"https://api.github.com/users/hairyhenderson/following{/other_user}","gists_url":"https://api.github.com/users/hairyhenderson/gists{/gist_id}","starred_url":"https://api.github.com/users/hairyhenderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairyhenderson/subscriptions","organizations_url":"https://api.github.com/users/hairyhenderson/orgs","repos_url":"https://api.github.com/users/hairyhenderson/repos","events_url":"https://api.github.com/users/hairyhenderson/events{/privacy}","received_events_url":"https://api.github.com/users/hairyhenderson/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T15:37:22Z","updated_at":"2015-09-23T15:37:22Z","body":"@jdalton - good point, thank you!"}}