Answers for "c# best way to convert json string to class"

C#
25

object to json c#

using Newtonsoft.Json;

var jsonString = JsonConvert.SerializeObject(obj);
Posted by: Guest on May-29-2020
4

c# object to json string

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

Code answers related to "c# best way to convert json string to class"

C# Answers by Framework

Browse Popular Code Answers by Language