public static void Main()
string json = "{ \"Id\":123456, \"Content\":\"Seu json vai aqui...\"}";
string formatted = JsonFormatting.Ident(json);
Console.WriteLine(formatted);
public class JsonFormatting
public static string Ident(string json)
using (var sr = new StringReader(json))
using (var sw = new StringWriter())
var jr = new JsonTextReader(sr);
var jw = new JsonTextWriter(sw) { Formatting = Formatting.Indented };