Answers for "c# primitives to json"

C#
7

string json to class c#

var result = JsonConvert.DeserializeObject<YourClass>(jsonstring);
Posted by: Guest on February-23-2021
4

c# object to json string

Newtonsoft.Json.JsonConvert.SerializeObject(new {foo = "bar"})
Posted by: Guest on May-18-2020

C# Answers by Framework

Browse Popular Code Answers by Language