<?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: Scala JSON Generator</title>
	<atom:link href="http://www.pyruby.com/2010/04/29/scala-json-generator/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pyruby.com/2010/04/29/scala-json-generator/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 25 Mar 2011 19:52:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Lucas Torri</title>
		<link>http://www.pyruby.com/2010/04/29/scala-json-generator/comment-page-1/#comment-267</link>
		<dc:creator>Lucas Torri</dc:creator>
		<pubDate>Fri, 25 Mar 2011 19:52:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.pyruby.com/?p=72#comment-267</guid>
		<description>What about something like this:
var json = $(
  &quot;key&quot;   -&gt; &quot;value&quot;,
  &quot;other&quot; -&gt; 2,
  &quot;array&quot; -&gt; %(1,2,3,4,5),
  &quot;more&quot;  -&gt; %(
    $(
      &quot;foo&quot; -&gt; &quot;bar&quot;
    ),
    $(
      &quot;bar&quot; -&gt; &quot;baz&quot;
    )
  ),
  &quot;good&quot;  -&gt; &quot;bye&quot;
)

println(json)
// {&quot;key&quot;: &quot;value&quot;, &quot;other&quot;: 2, &quot;array&quot;: [1, 2, 3, 4, 5], &quot;more&quot;: [{&quot;foo&quot;: &quot;bar&quot;}, {&quot;bar&quot;: &quot;baz&quot;}], &quot;good&quot;: &quot;bye&quot;}



or like this:

class Something(val param1: String, val param2: Int)
class SomethingElse(val arg1: Something, val arg2: Int)

val json = new SomethingElse(new Something(&quot;a&quot;, 1), 2).toJSON
println(json)
// {&quot;arg1&quot;: {&quot;param1&quot;: &quot;a&quot;, &quot;param2&quot;: 1}, &quot;arg2&quot;: 2}



https://github.com/lucastorri/scala-jsonr</description>
		<content:encoded><![CDATA[<p>What about something like this:<br />
var json = $(<br />
  &#8220;key&#8221;   -&gt; &#8220;value&#8221;,<br />
  &#8220;other&#8221; -&gt; 2,<br />
  &#8220;array&#8221; -&gt; %(1,2,3,4,5),<br />
  &#8220;more&#8221;  -&gt; %(<br />
    $(<br />
      &#8220;foo&#8221; -&gt; &#8220;bar&#8221;<br />
    ),<br />
    $(<br />
      &#8220;bar&#8221; -&gt; &#8220;baz&#8221;<br />
    )<br />
  ),<br />
  &#8220;good&#8221;  -&gt; &#8220;bye&#8221;<br />
)</p>
<p>println(json)<br />
// {&#8220;key&#8221;: &#8220;value&#8221;, &#8220;other&#8221;: 2, &#8220;array&#8221;: [1, 2, 3, 4, 5], &#8220;more&#8221;: [{"foo": "bar"}, {"bar": "baz"}], &#8220;good&#8221;: &#8220;bye&#8221;}</p>
<p>or like this:</p>
<p>class Something(val param1: String, val param2: Int)<br />
class SomethingElse(val arg1: Something, val arg2: Int)</p>
<p>val json = new SomethingElse(new Something(&#8220;a&#8221;, 1), 2).toJSON<br />
println(json)<br />
// {&#8220;arg1&#8243;: {&#8220;param1&#8243;: &#8220;a&#8221;, &#8220;param2&#8243;: 1}, &#8220;arg2&#8243;: 2}</p>
<p><a href="https://github.com/lucastorri/scala-jsonr" rel="nofollow">https://github.com/lucastorri/scala-jsonr</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Microsoft Points Card Generator</title>
		<link>http://www.pyruby.com/2010/04/29/scala-json-generator/comment-page-1/#comment-266</link>
		<dc:creator>Microsoft Points Card Generator</dc:creator>
		<pubDate>Sun, 20 Mar 2011 20:39:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.pyruby.com/?p=72#comment-266</guid>
		<description>&lt;strong&gt;Monthly Roundup...&lt;/strong&gt;

These sites are worth a good read. In our monthly roundup, we provide you with the best websites worth reading....</description>
		<content:encoded><![CDATA[<p><strong>Monthly Roundup&#8230;</strong></p>
<p>These sites are worth a good read. In our monthly roundup, we provide you with the best websites worth reading&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manipal University</title>
		<link>http://www.pyruby.com/2010/04/29/scala-json-generator/comment-page-1/#comment-207</link>
		<dc:creator>Manipal University</dc:creator>
		<pubDate>Fri, 21 May 2010 10:08:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.pyruby.com/?p=72#comment-207</guid>
		<description>Thanks for the nice post...</description>
		<content:encoded><![CDATA[<p>Thanks for the nice post&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: high velocity bowling</title>
		<link>http://www.pyruby.com/2010/04/29/scala-json-generator/comment-page-1/#comment-202</link>
		<dc:creator>high velocity bowling</dc:creator>
		<pubDate>Tue, 18 May 2010 16:54:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.pyruby.com/?p=72#comment-202</guid>
		<description>thanks for the post. I am very happy to read this post. . . . .</description>
		<content:encoded><![CDATA[<p>thanks for the post. I am very happy to read this post. . . . .</p>
]]></content:encoded>
	</item>
</channel>
</rss>

