<?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: iPhone SDK: Parsing semi-complex JSON objects</title>
	<atom:link href="http://pessoal.org/blog/2009/01/15/iphone-sdk-parsing-complex-json-objects/feed/" rel="self" type="application/rss+xml" />
	<link>http://pessoal.org/blog/2009/01/15/iphone-sdk-parsing-complex-json-objects/</link>
	<description></description>
	<lastBuildDate>Fri, 21 Aug 2009 01:49:42 -0300</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: vivar</title>
		<link>http://pessoal.org/blog/2009/01/15/iphone-sdk-parsing-complex-json-objects/comment-page-1/#comment-51497</link>
		<dc:creator>vivar</dc:creator>
		<pubDate>Tue, 04 Aug 2009 17:32:22 +0000</pubDate>
		<guid isPermaLink="false">http://pessoal.org/blog/?p=140#comment-51497</guid>
		<description>Hi,

I&#039;m trying to do something similar. On the server-side I am using PHP 5 / MySQL 5. I am testing with data that is just a list of names (&#039;Andy&#039;,&#039;Alex&#039;,&#039;Bob&#039;,&#039;Billy&#039;,&#039;Chris&#039;...etc.). So, I query my database, via PHP, and hold the results in an array.

The part that I am struggling with is the following: when I bring the JSON encoded object into objective C, I want to be able to create sections in my tableview (ie. &#039;A&#039;, &#039;B&#039; etc.) for the names and place those names into the appropriate section (ie. Section &#039;A&#039; should have &#039;Andy&#039;,&#039;Alex&#039;. Section &#039;B&#039; should have &#039;Bob&#039;,&#039;Billy&#039; etc.). I think that it might be easier to setup the key values in PHP then encode the array with JSON and call it from the iphone app.

I have seen examples of doing this using plists, but none using &#039;real data&#039; .

Any help would be appreciated,
Vivar</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m trying to do something similar. On the server-side I am using PHP 5 / MySQL 5. I am testing with data that is just a list of names (&#8217;Andy&#8217;,'Alex&#8217;,'Bob&#8217;,'Billy&#8217;,'Chris&#8217;&#8230;etc.). So, I query my database, via PHP, and hold the results in an array.</p>
<p>The part that I am struggling with is the following: when I bring the JSON encoded object into objective C, I want to be able to create sections in my tableview (ie. &#8216;A&#8217;, &#8216;B&#8217; etc.) for the names and place those names into the appropriate section (ie. Section &#8216;A&#8217; should have &#8216;Andy&#8217;,'Alex&#8217;. Section &#8216;B&#8217; should have &#8216;Bob&#8217;,'Billy&#8217; etc.). I think that it might be easier to setup the key values in PHP then encode the array with JSON and call it from the iphone app.</p>
<p>I have seen examples of doing this using plists, but none using &#8216;real data&#8217; .</p>
<p>Any help would be appreciated,<br />
Vivar</p>
]]></content:encoded>
	</item>
</channel>
</rss>
