Answers for "c# create json from key value pair"

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 "c# create json from key value pair"

C# Answers by Framework

Browse Popular Code Answers by Language