JSON Validation Method

We could really use a JSON validation method that checks if the JSON (string) is valid.