create json linter
ansuz opened this issue · 1 comments
ansuz commented
jsonlint.com isn't quite what we need, since credentials would all need to be wrapped in curly braces to be considered valid.
Putting this on a github.io page with a textarea field and some buttons would be sufficient.
try{
JSON.parse("{"+theirJSON+"}");
}catch(err){
/* you messed up */
}