Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get key value from json object in c#

//You want to convert it to an object first and then 
//access normally making sure to cast it.

JObject obj = JObject.Parse(json);
string name = (string) obj["Name"];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #key #json #object
ADD COMMENT
Topic
Name
8+4 =