<?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: Serializing Objects in Javascript</title>
	<atom:link href="http://blog.stchur.com/2007/04/06/serializing-objects-in-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.stchur.com/2007/04/06/serializing-objects-in-javascript/</link>
	<description>If you don&#039;t expect too much from me, you might not be let down.</description>
	<lastBuildDate>Thu, 26 Jan 2012 08:23:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Ron Cemer</title>
		<link>http://blog.stchur.com/2007/04/06/serializing-objects-in-javascript/comment-page-1/#comment-130375</link>
		<dc:creator>Ron Cemer</dc:creator>
		<pubDate>Tue, 03 Jan 2012 07:05:53 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/04/06/serializing-objects-in-javascript/#comment-130375</guid>
		<description>Your string serialization isn&#039;t properly escaping special characters.  For example, quotes inside the string should be prefixed with backslashes; backslashes in the string should be replaced with double backslashes; characters outside the ASCII character range should (probably) be replaced with their hexadeximal unicode equivalent (\xNNNN).  The way it is now, all you have to do to break it is to include a single quote within a string anywhere in the object tree.  The result will be unparseable JavaScript due to syntax errors.  Try this instead, which is straight from the horse&#039;s moutn (download links at the bottom of the page): http://www.json.org/js.html</description>
		<content:encoded><![CDATA[<p>Your string serialization isn&#039;t properly escaping special characters.  For example, quotes inside the string should be prefixed with backslashes; backslashes in the string should be replaced with double backslashes; characters outside the ASCII character range should (probably) be replaced with their hexadeximal unicode equivalent (\xNNNN).  The way it is now, all you have to do to break it is to include a single quote within a string anywhere in the object tree.  The result will be unparseable JavaScript due to syntax errors.  Try this instead, which is straight from the horse&#039;s moutn (download links at the bottom of the page): <a href="http://www.json.org/js.html" rel="nofollow">http://www.json.org/js.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sstchur</title>
		<link>http://blog.stchur.com/2007/04/06/serializing-objects-in-javascript/comment-page-1/#comment-120976</link>
		<dc:creator>sstchur</dc:creator>
		<pubDate>Wed, 21 Sep 2011 17:53:39 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/04/06/serializing-objects-in-javascript/#comment-120976</guid>
		<description>What is a Box2dWeb b2World object?</description>
		<content:encoded><![CDATA[<p>What is a Box2dWeb b2World object?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ajuc</title>
		<link>http://blog.stchur.com/2007/04/06/serializing-objects-in-javascript/comment-page-1/#comment-120973</link>
		<dc:creator>ajuc</dc:creator>
		<pubDate>Wed, 21 Sep 2011 17:19:53 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/04/06/serializing-objects-in-javascript/#comment-120973</guid>
		<description>Last problem is with recursive structures :)

I&#039;ve encountered this when serializing Box2dWeb b2World object. It throws (obviously) Maximum call stack size exceeded Exception.</description>
		<content:encoded><![CDATA[<p>Last problem is with recursive structures <img src='http://blog.stchur.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#039;ve encountered this when serializing Box2dWeb b2World object. It throws (obviously) Maximum call stack size exceeded Exception.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Kaal</title>
		<link>http://blog.stchur.com/2007/04/06/serializing-objects-in-javascript/comment-page-1/#comment-115262</link>
		<dc:creator>Nick Kaal</dc:creator>
		<pubDate>Tue, 28 Jun 2011 10:22:18 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/04/06/serializing-objects-in-javascript/#comment-115262</guid>
		<description>Nice,

It is just what i was looking for :)

tyvm</description>
		<content:encoded><![CDATA[<p>Nice,</p>
<p>It is just what i was looking for <img src='http://blog.stchur.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>tyvm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: javascript 序列化 &#124; 张经纬的博客</title>
		<link>http://blog.stchur.com/2007/04/06/serializing-objects-in-javascript/comment-page-1/#comment-114745</link>
		<dc:creator>javascript 序列化 &#124; 张经纬的博客</dc:creator>
		<pubDate>Sun, 19 Jun 2011 05:59:41 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/04/06/serializing-objects-in-javascript/#comment-114745</guid>
		<description>[...] 来源:http://blog.stchur.com/2007/04/06/serializing-objects-in-javascript/&#8211;Serializing Objects in Javascript [...]</description>
		<content:encoded><![CDATA[<p>[...] 来源:<a href="http://blog.stchur.com/2007/04/06/serializing-objects-in-javascript/&#8211;Serializing" rel="nofollow">http://blog.stchur.com/2007/04/06/serializing-objects-in-javascript/&#8211;Serializing</a> Objects in Javascript [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Himanshu</title>
		<link>http://blog.stchur.com/2007/04/06/serializing-objects-in-javascript/comment-page-1/#comment-82105</link>
		<dc:creator>Himanshu</dc:creator>
		<pubDate>Wed, 06 Oct 2010 02:20:40 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/04/06/serializing-objects-in-javascript/#comment-82105</guid>
		<description>How to serialize and deseialize 2d array like 

INternalID   NAME    AGE
100          A	     26
101          B       32
102          C       89</description>
		<content:encoded><![CDATA[<p>How to serialize and deseialize 2d array like </p>
<p>INternalID   NAME    AGE<br />
100          A	     26<br />
101          B       32<br />
102          C       89</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Woody</title>
		<link>http://blog.stchur.com/2007/04/06/serializing-objects-in-javascript/comment-page-1/#comment-63049</link>
		<dc:creator>Woody</dc:creator>
		<pubDate>Tue, 18 May 2010 13:13:13 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/04/06/serializing-objects-in-javascript/#comment-63049</guid>
		<description>Very useful - took all the pain out of throwing an array of objects between pages ;) +props</description>
		<content:encoded><![CDATA[<p>Very useful &#8211; took all the pain out of throwing an array of objects between pages <img src='http://blog.stchur.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  +props</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sstchur</title>
		<link>http://blog.stchur.com/2007/04/06/serializing-objects-in-javascript/comment-page-1/#comment-62725</link>
		<dc:creator>sstchur</dc:creator>
		<pubDate>Mon, 17 May 2010 18:45:14 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/04/06/serializing-objects-in-javascript/#comment-62725</guid>
		<description>That&#039;s why the blog is here offering public code snippets ;-)  Contribute.  Code it up and post it, so everyone can benefit!</description>
		<content:encoded><![CDATA[<p>That&#039;s why the blog is here offering public code snippets <img src='http://blog.stchur.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />   Contribute.  Code it up and post it, so everyone can benefit!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ADM Blog &#187; Serialize JavaScript object to JSON</title>
		<link>http://blog.stchur.com/2007/04/06/serializing-objects-in-javascript/comment-page-1/#comment-56332</link>
		<dc:creator>ADM Blog &#187; Serialize JavaScript object to JSON</dc:creator>
		<pubDate>Wed, 28 Apr 2010 11:57:59 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/04/06/serializing-objects-in-javascript/#comment-56332</guid>
		<description>[...] all I could find online were scripts and jquery plugins for serializing a html form. Then, I found this, a script that takes advantage of the .toSource() method available in Gecko-based browsers and for [...]</description>
		<content:encoded><![CDATA[<p>[...] all I could find online were scripts and jquery plugins for serializing a html form. Then, I found this, a script that takes advantage of the .toSource() method available in Gecko-based browsers and for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris McKenzie</title>
		<link>http://blog.stchur.com/2007/04/06/serializing-objects-in-javascript/comment-page-1/#comment-12513</link>
		<dc:creator>Chris McKenzie</dc:creator>
		<pubDate>Sun, 12 Apr 2009 04:26:48 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/04/06/serializing-objects-in-javascript/#comment-12513</guid>
		<description>Serializing arguments:

alert(Array.prototype.slice.apply(arguments).toString());</description>
		<content:encoded><![CDATA[<p>Serializing arguments:</p>
<p>alert(Array.prototype.slice.apply(arguments).toString());</p>
]]></content:encoded>
	</item>
</channel>
</rss>

