fasterxml.jackson ObjectMapper's prettyPrint uses \r\n instead of \n

后端 未结 0 1450
走了就别回头了
走了就别回头了 2021-01-07 09:40

When running on windows I always get "\\r\\n" in the output, but I was trying to just return "\\n"

    ObjectMapper objectMapper = new Obj         


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