Jon Hanna b3e2d61708 Optimise XmlNodeConverter (#1176)
* Short-circuit SerializeGroupedNodes on no child nodes.

Avoids creating unused Dictionary.

* Don't create Dictionary in ReadAttributeElements if it'll be empty.

* Reduce calls to JsonReader.TokenType virtual property.

* Remove duplicate finished boolean.

Different reasons for finishing the ReadAttributeElements loop are
noted, but the difference isn't acted on, so merge them.

* Check correct XML is from correct TokenType immediately.

(This changes the exception message in the case of it also being an
invalid objectType, but not the exception type).
2017-01-15 18:14:00 +13:00
2017-01-15 18:14:00 +13:00
2017-01-03 12:24:01 +13:00
2014-09-12 21:43:17 +12:00
2014-07-01 09:16:28 +12:00
2013-07-25 16:07:02 +12:00
2016-01-17 10:55:54 +13:00
S
Description
Json.NET 是一种适用于 .NET 的常用高性能 JSON 框架
https://github.com/JamesNK/Newtonsoft.Json.git
Readme
27 MiB
Languages
C# 99.3%
PowerShell 0.7%