2021年5月5日星期三

How Visual Studio Immediate Windows to print format indented JSON?

I tried to use Newtonsoft.Json.JsonConvert.SerializeObject(rows, Formatting.Indented) to convert variable to json when debugging, but vs immediate only show non-format string like image

I expect to get result like below LINQPad's result

https://stackoverflow.com/questions/67410924/how-visual-studio-immediate-windows-to-print-format-indented-json May 06, 2021 at 10:06AM

没有评论:

发表评论