<?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"
	>
<channel>
	<title>Comments on: Parsing JSON with Haskell</title>
	<atom:link href="http://www.hvergi.net/2008/06/parsing-json-with-haskell/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hvergi.net/2008/06/parsing-json-with-haskell/</link>
	<description>Just another programming weblog</description>
	<pubDate>Tue, 18 Nov 2008 14:52:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Arnar</title>
		<link>http://www.hvergi.net/2008/06/parsing-json-with-haskell/#comment-35</link>
		<dc:creator>Arnar</dc:creator>
		<pubDate>Fri, 27 Jun 2008 00:53:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.hvergi.net/?p=21#comment-35</guid>
		<description>&lt;p&gt;Hey Stephan,&lt;/p&gt;

&lt;p&gt;The "official" syntax diagrams on &lt;a href="http://www.json.org/" rel="nofollow"&gt;json.org&lt;/a&gt; don't show support for comments, although I believe comments are supported by JavaScript's &lt;code&gt;eval()&lt;/code&gt; - at least they are in Firefox.&lt;/p&gt;

&lt;p&gt;As for the string parsing, no - I'm not at all sure if it parses them according to the JavaScript/JSON syntax. I know it uses Haskell syntax, one might be a superset of the other and although it is easy to check, I didn't. I thought about this when writing the blog post but decided to gloss over it.&lt;/p&gt;

&lt;p&gt;The reason is that the post's main purpose is to show an example of how easy it is to construct parsers using Parsec. JSON is a well understood language that serves as a good example, but since the JSON part came second after showing parser usage - I allwed myself to take some liberties with it :)&lt;/p&gt;

&lt;p&gt;In any case, if you need a proper Haskell JSON library, take a look at the links in the last paragraph.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey Stephan,</p>

<p>The &#8220;official&#8221; syntax diagrams on <a href="http://www.json.org/" rel="nofollow">json.org</a> don&#8217;t show support for comments, although I believe comments are supported by JavaScript&#8217;s <code>eval()</code> - at least they are in Firefox.</p>

<p>As for the string parsing, no - I&#8217;m not at all sure if it parses them according to the JavaScript/JSON syntax. I know it uses Haskell syntax, one might be a superset of the other and although it is easy to check, I didn&#8217;t. I thought about this when writing the blog post but decided to gloss over it.</p>

<p>The reason is that the post&#8217;s main purpose is to show an example of how easy it is to construct parsers using Parsec. JSON is a well understood language that serves as a good example, but since the JSON part came second after showing parser usage - I allwed myself to take some liberties with it :)</p>

<p>In any case, if you need a proper Haskell JSON library, take a look at the links in the last paragraph.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Stephan</title>
		<link>http://www.hvergi.net/2008/06/parsing-json-with-haskell/#comment-32</link>
		<dc:creator>Stephan</dc:creator>
		<pubDate>Thu, 26 Jun 2008 20:58:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.hvergi.net/?p=21#comment-32</guid>
		<description>&lt;p&gt;That's a nice sample parser, Arnar.&lt;/p&gt;

&lt;p&gt;But does JSON really support comments? I haven't found any reference to comments in rfc4627.
Also, and this is probably nitpicking, are you sure stringLiteral parses the exact syntax of JSON strings?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>That&#8217;s a nice sample parser, Arnar.</p>

<p>But does JSON really support comments? I haven&#8217;t found any reference to comments in rfc4627.
Also, and this is probably nitpicking, are you sure stringLiteral parses the exact syntax of JSON strings?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Mike McNally</title>
		<link>http://www.hvergi.net/2008/06/parsing-json-with-haskell/#comment-31</link>
		<dc:creator>Mike McNally</dc:creator>
		<pubDate>Thu, 26 Jun 2008 18:56:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.hvergi.net/?p=21#comment-31</guid>
		<description>&lt;p&gt;oops sorry I missed the note about skipping floats.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>oops sorry I missed the note about skipping floats.</p>]]></content:encoded>
	</item>
</channel>
</rss>
