7a93892d030e52270d320c1fb760cbad45bff927
Skip attempting write when string is empty. FirstCharToEscape was introduced for the async version and gives a faster means to identify the first block before any escaping, so may as well use it here too. Conversely, WriteEscapedStringThroughBuffer was introduced to share code between the sync and async versions, but later optimisations meant it was no longer used by the async. Inline the code back again.
Description
Json.NET 是一种适用于 .NET 的常用高性能 JSON 框架
https://github.com/JamesNK/Newtonsoft.Json.git
27 MiB
Languages
C#
99.3%
PowerShell
0.7%