Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# function

private T GetObjectFromJson<T>(JObject object, string keyName)
{
  return JsonConvert.DeserializeObject<T>(object[keyName].ToString());
}
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
1+8 =