CSharp · Console
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
public class Program
{
public static void Main()
{
var source = new List<object>{
new Dictionary<string,object>{ { "data", "Name" }, },
new Dictionary<string,object>{ { "data", "Description" }, },
};
var json = JsonConvert.SerializeObject( source, Formatting.Indented );
Console.WriteLine( json );
}
}