Answers for "json array to c# list"

C#
1

convert json to list object c#

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

c# array to list

var intArray = new[] { 1, 2, 3, 4, 5 };
var list = new List<int>(intArray);
Posted by: Guest on March-30-2020
0

c# list object to json

using System.Text.Json;

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

C# Answers by Framework

Browse Popular Code Answers by Language