<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: David Pollak (from Lift): &#8220;There&#8217;s no way to convert from XML to JSON because XML contains sequences not expressible in JSON&#8221;</title>
	<atom:link href="http://codemonkeyism.com/david-pollak-from-lift-theres-no-way-to-convert-from-xml-to-json-because-xml-contains-sequences-not-expressible-in-json/feed/" rel="self" type="application/rss+xml" />
	<link>http://codemonkeyism.com/david-pollak-from-lift-theres-no-way-to-convert-from-xml-to-json-because-xml-contains-sequences-not-expressible-in-json/</link>
	<description></description>
	<lastBuildDate>Wed, 09 May 2012 22:39:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Michael Schøler</title>
		<link>http://codemonkeyism.com/david-pollak-from-lift-theres-no-way-to-convert-from-xml-to-json-because-xml-contains-sequences-not-expressible-in-json/comment-page-1/#comment-276465</link>
		<dc:creator>Michael Schøler</dc:creator>
		<pubDate>Sat, 13 Mar 2010 11:24:12 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2008/10/10/david-pollak-from-lift-theres-no-way-to-convert-from-xml-to-json-because-xml-contains-sequences-not-expressible-in-json/#comment-276465</guid>
		<description>I&#039;m not sure what the intent of your blog post is. Clearly 

mappings between XML and JSON exists (I&#039;m pretty sure some 

geek out there has done a language equivalence proof, at 

least to some extent) and as you state multiple 

converters/conventions exist. I don&#039;t agree that there are 

too many ways out there.

There are many ways to do XML to JSON (and visa versa) 

because there are many reasons to do so. Some reasons deal 

with huge amounts of data, rendering client side 

conversion too slow, some deal with small data amounts 

clearly favouring a clientside/javascript implementation.

One has to remember that XML and JSON however deal with 

two very distinct areas of interest. XML is very good to 

handle document structures and JSON is great for dealing 

with data structures. I find XML to JSON particularly 

interesting with regards to data structures.
 
So, in my oppinion, the exchangeability from XML to JSON is useful and definetly here to stay.

Microsoft Visual Studio has the capability to serialize 

all objects to XML and JSON (natively supported) - or any 

other custom format that would be able to map from a 

serializeable object.

See http://msdn.microsoft.com/en-

us/library/system.runtime.serialization.json.datacontractj

sonserializer.aspx

So going from eg. a C# object to either XML or JSON and 

then back to the original C# object is possible.

For an example, see:

http://pietschsoft.com/post/2008/02/NET-35-JSON-Serialization-using-the-DataContractJsonSerializer.aspx

Best regards,
Michael</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure what the intent of your blog post is. Clearly </p>
<p>mappings between XML and JSON exists (I&#8217;m pretty sure some </p>
<p>geek out there has done a language equivalence proof, at </p>
<p>least to some extent) and as you state multiple </p>
<p>converters/conventions exist. I don&#8217;t agree that there are </p>
<p>too many ways out there.</p>
<p>There are many ways to do XML to JSON (and visa versa) </p>
<p>because there are many reasons to do so. Some reasons deal </p>
<p>with huge amounts of data, rendering client side </p>
<p>conversion too slow, some deal with small data amounts </p>
<p>clearly favouring a clientside/javascript implementation.</p>
<p>One has to remember that XML and JSON however deal with </p>
<p>two very distinct areas of interest. XML is very good to </p>
<p>handle document structures and JSON is great for dealing </p>
<p>with data structures. I find XML to JSON particularly </p>
<p>interesting with regards to data structures.</p>
<p>So, in my oppinion, the exchangeability from XML to JSON is useful and definetly here to stay.</p>
<p>Microsoft Visual Studio has the capability to serialize </p>
<p>all objects to XML and JSON (natively supported) &#8211; or any </p>
<p>other custom format that would be able to map from a </p>
<p>serializeable object.</p>
<p>See <a href="http://msdn.microsoft.com/en-" rel="nofollow">http://msdn.microsoft.com/en-</a></p>
<p>us/library/system.runtime.serialization.json.datacontractj</p>
<p>sonserializer.aspx</p>
<p>So going from eg. a C# object to either XML or JSON and </p>
<p>then back to the original C# object is possible.</p>
<p>For an example, see:</p>
<p><a href="http://pietschsoft.com/post/2008/02/NET-35-JSON-Serialization-using-the-DataContractJsonSerializer.aspx" rel="nofollow">http://pietschsoft.com/post/2008/02/NET-35-JSON-Serialization-using-the-DataContractJsonSerializer.aspx</a></p>
<p>Best regards,<br />
Michael</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Database Caching 7/15 queries in 0.011 seconds using disk

Served from: codemonkeyism.com @ 2012-05-17 10:08:27 -->
