Use JContainer.Parse(str) method to check if the str is a valid Json. If this throws exception then it is not a valid Json.
JObject.Parse - Can be used to check if the string is a valid Json object
JArray.Parse - Can be used to check if the string is a valid Json Array
JContainer.Parse - Can be used to check for both Json object & Array