Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

jtoken null or exists c#

JToken token = jObject["param"];
if (token != null)
{
    // the "param" property exists
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jtoken #null #exists
ADD COMMENT
Topic
Name
4+2 =