You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there was a syntax error it returns false, otherwise true.
Example
char str[]="{\"name\":\"John Smith\",\"age\":35,\"married\":true}";
JSON json={0};
if ( JSON_FROM_STRING(&json, str) )
OUT("str is in JSON");
elseOUT("str is not a valid JSON");