public void TestBeautifyJson() { var a = new SimpleModelType().ToJson(); Assert.IsNotNull(Newtonsoft.Json.JsonConvert.DeserializeObject(JsonExtensions.BeautifyJson(a))); Assert.IsNull(JsonExtensions.BeautifyJson(null)); }
public void TestBeautifyJson() { var a = new SimpleModelType().ToJson(); Assert.IsNotNull(Newtonsoft.Json.JsonConvert.DeserializeObject(JsonExtensions.BeautifyJson(a))); Assert.IsNull(JsonExtensions.BeautifyJson(null)); }