jtoken null or exists c#

82

jtoken null or exists c# -

JToken token = jObject["param"];
if (token != null)
{
    // the "param" property exists
}

Comments

Submit
0 Comments