alessioalex/try-json-parse — pull request #1 by Raynos (2014-06-19 22:22:36+00:00)
Title: null is valid json, return undefined

`JSON.parse("null") === null`

Since null is valid we return `undefined` instead, this means you know that it was invalid if it returns `undefined`