Answers for "convert a object to json c#"

C#
22

object to json c#

using Newtonsoft.Json;

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

c# object to json string

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

Code answers related to "convert a object to json c#"

C# Answers by Framework

Browse Popular Code Answers by Language