<?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: Problems Parsing JSON Responses with Apex</title>
	<atom:link href="http://blog.jeffdouglas.com/2009/12/28/problems-parsing-json-responses-with-apex/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jeffdouglas.com/2009/12/28/problems-parsing-json-responses-with-apex/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=problems-parsing-json-responses-with-apex</link>
	<description>Get your head out of your #@! and into the clouds!</description>
	<lastBuildDate>Wed, 08 Feb 2012 07:57:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: sandy</title>
		<link>http://blog.jeffdouglas.com/2009/12/28/problems-parsing-json-responses-with-apex/comment-page-1/#comment-347</link>
		<dc:creator>sandy</dc:creator>
		<pubDate>Mon, 25 Jan 2010 09:09:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1862#comment-347</guid>
		<description>Hey Jeff how are you, Im very new to the blog&#039;s and I dnt evn know hw to use or register the blogs, but I found very much interesting stuff in here and u r helping people a lot, since Im getting in to SFDC I would definitely need ur help and ur guidance.....please respond my comment so that I cn be down here eaisly without searching in google...

cheers
Sandy</description>
		<content:encoded><![CDATA[<p>Hey Jeff how are you, Im very new to the blog&#8217;s and I dnt evn know hw to use or register the blogs, but I found very much interesting stuff in here and u r helping people a lot, since Im getting in to SFDC I would definitely need ur help and ur guidance&#8230;..please respond my comment so that I cn be down here eaisly without searching in google&#8230;</p>
<p>cheers<br />
Sandy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SalesForce and JSON</title>
		<link>http://blog.jeffdouglas.com/2009/12/28/problems-parsing-json-responses-with-apex/comment-page-1/#comment-346</link>
		<dc:creator>SalesForce and JSON</dc:creator>
		<pubDate>Wed, 06 Jan 2010 17:46:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1862#comment-346</guid>
		<description>[...] Since posting this Jeff Douglas has written about JSON in SalesForce [...]</description>
		<content:encoded><![CDATA[<p>[...] Since posting this Jeff Douglas has written about JSON in SalesForce [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: osama</title>
		<link>http://blog.jeffdouglas.com/2009/12/28/problems-parsing-json-responses-with-apex/comment-page-1/#comment-345</link>
		<dc:creator>osama</dc:creator>
		<pubDate>Tue, 05 Jan 2010 19:55:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1862#comment-345</guid>
		<description>Hey,

cant you use XML parsing technique here?</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>cant you use XML parsing technique here?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron Hess</title>
		<link>http://blog.jeffdouglas.com/2009/12/28/problems-parsing-json-responses-with-apex/comment-page-1/#comment-344</link>
		<dc:creator>Ron Hess</dc:creator>
		<pubDate>Mon, 28 Dec 2009 17:58:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1862#comment-344</guid>
		<description>here is the fix, worked for my simple test

at line 1374 replace the try {} ...

with this

            try {
            	Integer si = Integer.valueof(s);
                return  new value( si );
            } catch (System.TypeException e) {
                try {
                	return new value( Double.valueof(s) );
                }  catch (System.TypeException g) {
                    // fall thru
                }
            }</description>
		<content:encoded><![CDATA[<p>here is the fix, worked for my simple test</p>
<p>at line 1374 replace the try {} &#8230;</p>
<p>with this</p>
<p>            try {<br />
            	Integer si = Integer.valueof(s);<br />
                return  new value( si );<br />
            } catch (System.TypeException e) {<br />
                try {<br />
                	return new value( Double.valueof(s) );<br />
                }  catch (System.TypeException g) {<br />
                    // fall thru<br />
                }<br />
            }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron Hess</title>
		<link>http://blog.jeffdouglas.com/2009/12/28/problems-parsing-json-responses-with-apex/comment-page-1/#comment-343</link>
		<dc:creator>Ron Hess</dc:creator>
		<pubDate>Mon, 28 Dec 2009 17:22:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1862#comment-343</guid>
		<description>i found the JSON, somehow the parser thinks this is an array of int
&quot;coordinates&quot;: [ -122.0841430, 37.4219720, 0 ]</description>
		<content:encoded><![CDATA[<p>i found the JSON, somehow the parser thinks this is an array of int<br />
&#8220;coordinates&#8221;: [ -122.0841430, 37.4219720, 0 ]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron Hess</title>
		<link>http://blog.jeffdouglas.com/2009/12/28/problems-parsing-json-responses-with-apex/comment-page-1/#comment-342</link>
		<dc:creator>Ron Hess</dc:creator>
		<pubDate>Mon, 28 Dec 2009 16:50:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1862#comment-342</guid>
		<description>Hi Jeff, i have a few ideas but wanted to point out that there is a geocoding project in code share, look for the google earth project.  For the json response, did you capture the JSON string that we can use to debug the parser?

Also, if you max out the debug log, you can turn off profiling and database info , then add system debug statements to see what is going on in the class</description>
		<content:encoded><![CDATA[<p>Hi Jeff, i have a few ideas but wanted to point out that there is a geocoding project in code share, look for the google earth project.  For the json response, did you capture the JSON string that we can use to debug the parser?</p>
<p>Also, if you max out the debug log, you can turn off profiling and database info , then add system debug statements to see what is going on in the class</p>
]]></content:encoded>
	</item>
</channel>
</rss>

