Answers for "get all key from json 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

C# Answers by Framework

Browse Popular Code Answers by Language