What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-05 06:37:07
c# is json valid
private static bool IsValidJson(string strInput) { if (string.IsNullOrWhiteSpace(strInput)) { return false;} strInput = strInput.Trim(); if ((strInput.StartsWith("{") && strInput.EndsWith("}")) || //For object ... Add solution