Answers for "how can i convert an class object into string not json string in c#?"

C#
2

how to convert object in string JSON c#

var json = new JavaScriptSerializer().Serialize(obj);
Posted by: Guest on April-27-2020
7

string json to class c#

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

Code answers related to "how can i convert an class object into string not json string in c#?"

C# Answers by Framework

Browse Popular Code Answers by Language