<?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: JSON Framework for iPhone (Part 2)</title>
	<atom:link href="http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html/feed" rel="self" type="application/rss+xml" />
	<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html</link>
	<description>Tips and Tricks for iPhone developers</description>
	<lastBuildDate>Sat, 13 Mar 2010 20:18:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Random Developer</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html/comment-page-1#comment-5893</link>
		<dc:creator>Random Developer</dc:creator>
		<pubDate>Wed, 21 Oct 2009 19:08:24 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-5893</guid>
		<description>Hey, just figured I&#039;d mention it in case people aren&#039;t HTML savvy - your [code] tag, or whatever formats your code is parsing ampersands, angle brackets, etc as their html elements. &amp;amp, etc.</description>
		<content:encoded><![CDATA[<p>Hey, just figured I&#8217;d mention it in case people aren&#8217;t HTML savvy &#8211; your [code] tag, or whatever formats your code is parsing ampersands, angle brackets, etc as their html elements. &amp;amp, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guido</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html/comment-page-1#comment-5118</link>
		<dc:creator>Guido</dc:creator>
		<pubDate>Sun, 20 Sep 2009 17:13:08 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-5118</guid>
		<description>Forget my last post. Found the answer here: http://stackoverflow.com/questions/330060/problem-using-nsurlrequest-to-post-data-to-server.

Guido</description>
		<content:encoded><![CDATA[<p>Forget my last post. Found the answer here: <a href="http://stackoverflow.com/questions/330060/problem-using-nsurlrequest-to-post-data-to-server" rel="nofollow">http://stackoverflow.com/questions/330060/problem-using-nsurlrequest-to-post-data-to-server</a>.</p>
<p>Guido</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guido</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html/comment-page-1#comment-5117</link>
		<dc:creator>Guido</dc:creator>
		<pubDate>Sun, 20 Sep 2009 16:13:13 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-5117</guid>
		<description>Great post, thanks!
I am also trying to figure out how to send (POST) JSON data to a RESTful web service. I did not find a possibility to configure the HTTP method for the NSURLRequest object.

Any idea?

Thanks
Guido</description>
		<content:encoded><![CDATA[<p>Great post, thanks!<br />
I am also trying to figure out how to send (POST) JSON data to a RESTful web service. I did not find a possibility to configure the HTTP method for the NSURLRequest object.</p>
<p>Any idea?</p>
<p>Thanks<br />
Guido</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html/comment-page-1#comment-5095</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sat, 19 Sep 2009 00:19:34 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-5095</guid>
		<description>Am I wrong, or shouldn&#039;t you be autoreleasing the return value of stringWithUrl:url (first code fragment) to avoid a memory leak??

Oh another commenter (Lars) noticed the same thing. I think you do need to autorelease.

Haven&#039;t compiled this, but something like:

NSString *ret = [[NSString alloc] initWithData:urlData encoding:NSUTF8StringEncoding];
return([ret autorelease]);

See p.168 of _Learn Objective-C on the Mac_.</description>
		<content:encoded><![CDATA[<p>Am I wrong, or shouldn&#8217;t you be autoreleasing the return value of stringWithUrl:url (first code fragment) to avoid a memory leak??</p>
<p>Oh another commenter (Lars) noticed the same thing. I think you do need to autorelease.</p>
<p>Haven&#8217;t compiled this, but something like:</p>
<p>NSString *ret = [[NSString alloc] initWithData:urlData encoding:NSUTF8StringEncoding];<br />
return([ret autorelease]);</p>
<p>See p.168 of _Learn Objective-C on the Mac_.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: balkan</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html/comment-page-1#comment-4696</link>
		<dc:creator>balkan</dc:creator>
		<pubDate>Mon, 31 Aug 2009 09:14:40 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-4696</guid>
		<description>Hello

It&#039;s ok to deserialize to a dictionary.

But what about to deserialize as objects?

For example I have a book class both in server-side and iphone-side

I want to deserialize the serialized book object of server side to a book object in iphone?

Is it possible?</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>It&#8217;s ok to deserialize to a dictionary.</p>
<p>But what about to deserialize as objects?</p>
<p>For example I have a book class both in server-side and iphone-side</p>
<p>I want to deserialize the serialized book object of server side to a book object in iphone?</p>
<p>Is it possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html/comment-page-1#comment-4269</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sun, 09 Aug 2009 23:23:50 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-4269</guid>
		<description>Still a good article for starting out.

One questions I am working with: how to send a JSON string to the URL, for example using an RPC type call to my php files on the server.

John</description>
		<content:encoded><![CDATA[<p>Still a good article for starting out.</p>
<p>One questions I am working with: how to send a JSON string to the URL, for example using an RPC type call to my php files on the server.</p>
<p>John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rodney</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html/comment-page-1#comment-4123</link>
		<dc:creator>Rodney</dc:creator>
		<pubDate>Wed, 22 Jul 2009 16:10:24 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-4123</guid>
		<description>@Chris,

Use of this API will not result in rejection.  I have used it within my own application that was accepted and put into the store.  

- Rodney</description>
		<content:encoded><![CDATA[<p>@Chris,</p>
<p>Use of this API will not result in rejection.  I have used it within my own application that was accepted and put into the store.  </p>
<p>- Rodney</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html/comment-page-1#comment-4122</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 22 Jul 2009 10:53:33 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-4122</guid>
		<description>Does anyone know if this counts as using a 3rd party API/framework which may mean it is rejected by the iphone app store?</description>
		<content:encoded><![CDATA[<p>Does anyone know if this counts as using a 3rd party API/framework which may mean it is rejected by the iphone app store?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html/comment-page-1#comment-4115</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 21 Jul 2009 13:57:47 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-4115</guid>
		<description>Great tutoral! Thanks.  Do I need to make a NSMutableData *response global to hold the response.  I&#039;m getting null for [feed valueForKey:@&quot;title&quot;] using the Jaiku example output. Thanks.</description>
		<content:encoded><![CDATA[<p>Great tutoral! Thanks.  Do I need to make a NSMutableData *response global to hold the response.  I&#8217;m getting null for [feed valueForKey:@"title"] using the Jaiku example output. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Orchard</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html/comment-page-1#comment-4111</link>
		<dc:creator>David Orchard</dc:creator>
		<pubDate>Mon, 20 Jul 2009 21:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-4111</guid>
		<description>Did you do error checking, especially looking for single quotes in names, ie John O&#039;Connor?

Dave</description>
		<content:encoded><![CDATA[<p>Did you do error checking, especially looking for single quotes in names, ie John O&#8217;Connor?</p>
<p>Dave</p>
]]></content:encoded>
	</item>
</channel>
</rss>
