Files
Newtonsoft.Json/Src
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-09 23:44:08 +13:00
2016-05-14 13:43:43 +12:00
2015-08-02 23:56:26 +12:00
2015-08-02 23:56:26 +12:00
2015-08-02 23:56:26 +12:00
2015-08-02 23:56:26 +12:00
2015-12-04 23:54:38 +13:00
2016-06-13 22:43:04 +12:00