Carriage return / new line issue with JsonSerializer in C#

前端 未结 0 1798
别那么骄傲
别那么骄傲 2020-11-22 00:58

It seems like JsonSerializer.SerializeObject object adds an extra backslash character for both carriage return/new line as shown on the image below (check the Watch window):

相关标签:
回答
  • 消灭零回复
提交回复
热议问题