{"action":"created","issue":{"url":"https://api.github.com/repos/Starcounter-Jack/Fast-JSON-Patch/issues/29","labels_url":"https://api.github.com/repos/Starcounter-Jack/Fast-JSON-Patch/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/Starcounter-Jack/Fast-JSON-Patch/issues/29/comments","events_url":"https://api.github.com/repos/Starcounter-Jack/Fast-JSON-Patch/issues/29/events","html_url":"https://github.com/Starcounter-Jack/Fast-JSON-Patch/issues/29","id":33195392,"number":29,"title":"feature request: patch validator","user":{"login":"joshua-mcginnis","id":5913700,"avatar_url":"https://avatars.githubusercontent.com/u/5913700?v=3","gravatar_id":"","url":"https://api.github.com/users/joshua-mcginnis","html_url":"https://github.com/joshua-mcginnis","followers_url":"https://api.github.com/users/joshua-mcginnis/followers","following_url":"https://api.github.com/users/joshua-mcginnis/following{/other_user}","gists_url":"https://api.github.com/users/joshua-mcginnis/gists{/gist_id}","starred_url":"https://api.github.com/users/joshua-mcginnis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshua-mcginnis/subscriptions","organizations_url":"https://api.github.com/users/joshua-mcginnis/orgs","repos_url":"https://api.github.com/users/joshua-mcginnis/repos","events_url":"https://api.github.com/users/joshua-mcginnis/events{/privacy}","received_events_url":"https://api.github.com/users/joshua-mcginnis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2014-05-09T18:15:32Z","updated_at":"2015-01-13T13:22:57Z","closed_at":null,"body":"Thanks for this project. \r\n\r\nA nice feature would be to validate that a patch document is a valid patch doc. This would allow users to pre-validate that the client sent a valid patch document before the server uses it.\r\n\r\nSomething like:\r\n`jsonpatch.isValid(patch); //true = valid, false = invalid`\r\n\r\nOr you could return errors, but that might be difficult. Ultimately, if a client sends a bad patch, we're just going to return an http bad request."},"comment":{"url":"https://api.github.com/repos/Starcounter-Jack/Fast-JSON-Patch/issues/comments/69743025","html_url":"https://github.com/Starcounter-Jack/Fast-JSON-Patch/issues/29#issuecomment-69743025","issue_url":"https://api.github.com/repos/Starcounter-Jack/Fast-JSON-Patch/issues/29","id":69743025,"user":{"login":"warpech","id":566463,"avatar_url":"https://avatars.githubusercontent.com/u/566463?v=3","gravatar_id":"","url":"https://api.github.com/users/warpech","html_url":"https://github.com/warpech","followers_url":"https://api.github.com/users/warpech/followers","following_url":"https://api.github.com/users/warpech/following{/other_user}","gists_url":"https://api.github.com/users/warpech/gists{/gist_id}","starred_url":"https://api.github.com/users/warpech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warpech/subscriptions","organizations_url":"https://api.github.com/users/warpech/orgs","repos_url":"https://api.github.com/users/warpech/repos","events_url":"https://api.github.com/users/warpech/events{/privacy}","received_events_url":"https://api.github.com/users/warpech/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T13:22:57Z","updated_at":"2015-01-13T13:22:57Z","body":"@sonnyp Pushed. Would you take a look at the commit https://github.com/Starcounter-Jack/Fast-JSON-Patch/commit/b64474b889ced52f8b64b477e0e143448d0a48f8 and share your thoughts?"}}