I am looking for a way to convert the following manually typed JSON list to a List I can load, but still output the same format in C#, so in can be POSTed to a REST API.
var accs = @"{
" + "\n" +
@" ""Cities"": [
" + "\n" +
@" ""Atlanta"",
" + "\n" +
@" ""Chicago"",
" + "\n" +
@" ""San Diego""
" + "\n" +
@" ]
" + "\n" +
@"}
" + "\n" +
@"";
@", you can avoid the+concatenation and just put your JSON on multiple lines. Use'instead of"in your JSON text.