Answers for "c# jsonconvert serializeobject pretty"

C#
5

c# serialize json

using System.Text.Json;

//Serialize
var jsonString = JsonSerializer.Serialize(yourObject);

// Deserialize
var obj = JsonSerializer.Deserialize<YourObject>(stringValue);
Posted by: Guest on December-03-2020
1

c# serialize json

using System.Web.Script.Serialization;
Posted by: Guest on March-13-2022

C# Answers by Framework

Browse Popular Code Answers by Language