Answers for "c#json convert array of element"

C#
1

c# list object to json

using System.Text.Json;

var json = JsonSerializer.Serialize(aList);
Posted by: Guest on November-05-2021
1

convert json to list object c#

var model = JsonConvert.DeserializeObject<List<MatrixModel.RootObject>>(json);
Posted by: Guest on February-28-2021

C# Answers by Framework

Browse Popular Code Answers by Language