<?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: How to Access/Parse Json in Javascript	</title>
	<atom:link href="https://webrewrite.com/accessparse-json-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>https://webrewrite.com/accessparse-json-javascript/</link>
	<description>Technology Blog Where You Find Programming Tips and Tricks</description>
	<lastBuildDate>Sun, 08 Mar 2015 06:05:00 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.7</generator>
	<item>
		<title>
		By: Aditya Sharat		</title>
		<link>https://webrewrite.com/accessparse-json-javascript/#comment-423</link>

		<dc:creator><![CDATA[Aditya Sharat]]></dc:creator>
		<pubDate>Sun, 08 Mar 2015 06:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://webrewrite.com/?p=1370#comment-423</guid>

					<description><![CDATA[Doesn&#039;t JSON.parse(empData); throw an exception if the json is invalid ?
I don&#039;t think the following is a valid check:
if (typeof empValue == &#039;object&#039;)

using a try... catch around the JSON.parse is the best way to check for invalid JSON.
Would you agree ?]]></description>
			<content:encoded><![CDATA[<p>Doesn&#8217;t JSON.parse(empData); throw an exception if the json is invalid ?<br />
I don&#8217;t think the following is a valid check:<br />
if (typeof empValue == &#8216;object&#8217;)</p>
<p>using a try&#8230; catch around the JSON.parse is the best way to check for invalid JSON.<br />
Would you agree ?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
