<?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: Grails JSON converter and transient properties</title>
	<atom:link href="http://swordsystems.com/2009/11/23/grails-json-converter-and-transient-properties/feed/" rel="self" type="application/rss+xml" />
	<link>http://swordsystems.com/2009/11/23/grails-json-converter-and-transient-properties/</link>
	<description>Cutting Commentary</description>
	<lastBuildDate>Wed, 09 May 2012 22:07:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: eric</title>
		<link>http://swordsystems.com/2009/11/23/grails-json-converter-and-transient-properties/comment-page-1/#comment-227</link>
		<dc:creator>eric</dc:creator>
		<pubDate>Thu, 19 Apr 2012 15:43:42 +0000</pubDate>
		<guid isPermaLink="false">http://swordsystems.com/?p=42#comment-227</guid>
		<description>&lt;a href=&quot;#comment-226&quot; rel=&quot;nofollow&quot;&gt;@Vijay Tyagi &lt;/a&gt; 
Should be pretty straightforward doing it in the controller with JsonBuilder.  Check out this section of the manual: http://grails.org/doc/latest/guide/theWebLayer.html#moreOnJSONBuilder.  There is an example of iterating over an array (like from myObject.properties or getting all the props from the meta class) and building complex json objects and arrays.</description>
		<content:encoded><![CDATA[<p><a href="#comment-226" rel="nofollow">@Vijay Tyagi </a><br />
Should be pretty straightforward doing it in the controller with JsonBuilder.  Check out this section of the manual: <a href="http://grails.org/doc/latest/guide/theWebLayer.html#moreOnJSONBuilder" rel="nofollow">http://grails.org/doc/latest/guide/theWebLayer.html#moreOnJSONBuilder</a>.  There is an example of iterating over an array (like from myObject.properties or getting all the props from the meta class) and building complex json objects and arrays.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijay Tyagi</title>
		<link>http://swordsystems.com/2009/11/23/grails-json-converter-and-transient-properties/comment-page-1/#comment-226</link>
		<dc:creator>Vijay Tyagi</dc:creator>
		<pubDate>Tue, 17 Apr 2012 14:20:19 +0000</pubDate>
		<guid isPermaLink="false">http://swordsystems.com/?p=42#comment-226</guid>
		<description>Hi Eric,

I am comparatively new to grails and I have been finding it difficult to convert a dynamically added property(using metaClass) to json...Let me know if you have any idea about this.</description>
		<content:encoded><![CDATA[<p>Hi Eric,</p>
<p>I am comparatively new to grails and I have been finding it difficult to convert a dynamically added property(using metaClass) to json&#8230;Let me know if you have any idea about this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Todd</title>
		<link>http://swordsystems.com/2009/11/23/grails-json-converter-and-transient-properties/comment-page-1/#comment-34</link>
		<dc:creator>Todd</dc:creator>
		<pubDate>Mon, 31 Jan 2011 17:13:06 +0000</pubDate>
		<guid isPermaLink="false">http://swordsystems.com/?p=42#comment-34</guid>
		<description>Thanks so much for this answer!  I&#039;d tracked it down to a dependency on a null grailsApplication reference within ConverterUtil and was getting frustrated with the crappy dependency...  metaClass programming to the rescue... NOT.

[WORDPRESS HASHCASH] The poster sent us &#039;0 which is not a hashcash value.</description>
		<content:encoded><![CDATA[<p>Thanks so much for this answer!  I&#8217;d tracked it down to a dependency on a null grailsApplication reference within ConverterUtil and was getting frustrated with the crappy dependency&#8230;  metaClass programming to the rescue&#8230; NOT.</p>
<p>[WORDPRESS HASHCASH] The poster sent us &#8217;0 which is not a hashcash value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Dalton</title>
		<link>http://swordsystems.com/2009/11/23/grails-json-converter-and-transient-properties/comment-page-1/#comment-11</link>
		<dc:creator>Steve Dalton</dc:creator>
		<pubDate>Wed, 02 Dec 2009 03:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://swordsystems.com/?p=42#comment-11</guid>
		<description>Hi Eric
Thanks for that - I just stumbled on the same problem. Works fine with XML MarkupBuilder - but my Json stuff is broken. I can&#039;t believe you have to go to all this trouble to get it to work, hope the new Grails 1.2 JsonBuilder is better than this!
Steve</description>
		<content:encoded><![CDATA[<p>Hi Eric<br />
Thanks for that &#8211; I just stumbled on the same problem. Works fine with XML MarkupBuilder &#8211; but my Json stuff is broken. I can&#8217;t believe you have to go to all this trouble to get it to work, hope the new Grails 1.2 JsonBuilder is better than this!<br />
Steve</p>
]]></content:encoded>
	</item>
</channel>
</rss>

