Answers for "how to get key value from json object in c#"

C#
0

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"];
Posted by: Guest on August-03-2021

Code answers related to "how to get key value from json object in c#"

C# Answers by Framework

Browse Popular Code Answers by Language