0

I use this method to process data from api, I want it to not escape special characters but keep special characters like '\n'.

I found it escapes special characters like \n even in default mode. Is there a way to turn off the default StringEscapeHandling? Or how should I turn the shifted empty lines back to \n?

frank
  • 1
  • 2
  • Maybe this is not a good question. I think I can try adding another '\' in front of the \'. – frank Nov 23 '22 at 01:08

0 Answers0