using System;
using System.Collections.Generic;
using Newtonsoft.Json;
public class Program
{
public static void Main()
var config = new
boxAppSettings = new []
new
clientId = "blah1",
clientSecret = "blah2",
appAuth = new []
new {
publicKeyId = "blah3",
privateKey = "blah4",
passphrase = "blah5",
}
},
//enterpriseID = "blah6"
enterprise = "blah 6"
};
string json = JsonConvert.SerializeObject(config);
Console.WriteLine(json);