JSON

CSharp · Console

/Program.cs

using System;
using Newtonsoft.Json;
					
public class Program
{
	public static void Main()
	{
	
		
		var body = new object []{

            new
            {
                accountId = 123,
                reportType = 1,
                reportTypeDesc = "Daily"
            },
               new
            {
                accountId = 123,
                reportType = 1,
                reportTypeDesc = "Daily"
            },
               new
            {
               accountId = 123,
               reportType = 1,
               reportTypeDesc = "Daily"
			},
		};
		
		Console.WriteLine(JsonConvert.SerializeObject(body));
	}
}
;