<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>JSON Service Speed</title><link>http://blogs.msdn.com/drnick/archive/2008/06/30/json-service-speed.aspx</link><description>I've been playing with the DataContractJsonSerializer that comes with Orcas recently to produce some JSON-based services. DataContractJsonSerializer works just like any other XmlObjectSerializer, except of course that the serialization output looks nothing</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Security Session Inactivity</title><link>http://blogs.msdn.com/drnick/archive/2008/06/30/json-service-speed.aspx#8671719</link><pubDate>Mon, 30 Jun 2008 19:38:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8671719</guid><dc:creator>Nicholas Allen's Indigo Blog</dc:creator><description>&lt;p&gt;What does the InactivityTimeout on a secure channel do? The inactivity timeout on a message security&lt;/p&gt;
</description></item><item><title>re: JSON Service Speed</title><link>http://blogs.msdn.com/drnick/archive/2008/06/30/json-service-speed.aspx#8672504</link><pubDate>Mon, 30 Jun 2008 22:14:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8672504</guid><dc:creator>Alexey Lavnikov</dc:creator><description>&lt;p&gt;How do you explain that Json serialization which is simpler, e.g.:&lt;/p&gt;
&lt;p&gt;a) needs less memory,&lt;/p&gt;
&lt;p&gt;b) needs less logic,&lt;/p&gt;
&lt;p&gt;looses to DataContractSerializer in some cases (as you said) in terms of speed? Also it's not very obvious, why would serialization of floating point values in Json-mode be slower than using DataContractSerializer? &lt;/p&gt;
&lt;p&gt;Something must be wrong with implementation.&lt;/p&gt;</description></item><item><title>re: JSON Service Speed</title><link>http://blogs.msdn.com/drnick/archive/2008/06/30/json-service-speed.aspx#8675843</link><pubDate>Tue, 01 Jul 2008 10:56:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8675843</guid><dc:creator>Nicholas Allen</dc:creator><description>&lt;p&gt;Hi Alexey,&lt;/p&gt;
&lt;p&gt;It looks like the Json serializer spends more time manipulating character buffers than is required by the Xml approach. &amp;nbsp;This is probably a tradeoff for some other scenario where the character buffers make Json faster than Xml.&lt;/p&gt;
&lt;p&gt;Json is a bit simpler format than Xml, but any serialization implementation is going to have complexity. &amp;nbsp;That's what makes it hard to predict performance through intuition.&lt;/p&gt;
</description></item></channel></rss>