<?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: LotusScript and JSON, living together</title>
	<atom:link href="http://ekrantz.com/index.php/2008/02/14/lotusscript-and-json-living-together.html/feed" rel="self" type="application/rss+xml" />
	<link>http://ekrantz.com/index.php/2008/02/14/lotusscript-and-json-living-together.html</link>
	<description>Family, Comments and Tutorials</description>
	<lastBuildDate>Sun, 13 Jun 2010 06:42:07 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mike Brown</title>
		<link>http://ekrantz.com/index.php/2008/02/14/lotusscript-and-json-living-together.html/comment-page-1#comment-1377</link>
		<dc:creator>Mike Brown</dc:creator>
		<pubDate>Mon, 30 Nov 2009 03:04:12 +0000</pubDate>
		<guid isPermaLink="false">http://ekrantz.com/index.php/2008/02/14/lotusscript-and-json-living-together.html#comment-1377</guid>
		<description>Okay, I worked it out.

In order to get the &quot;round tripping&quot; that you mentioned, we have to use the class definitions in ls.snapps.JSONWrapperConverters instead of the ones in ls.snapps.JSONObject and ls.snapps.JSONArray.

To enable that to happen, I simply had to open up the ls.snapps.JSONReader library, and comment out these two lines:

Use &quot;ls.snapps.JSONArray&quot;
Use &quot;ls.snapps.JSONObject&quot;

and add this line instead:

Use &quot;ls.snapps.JSONWrapperConverters&quot;

In my agent or button code, I then include the ls.snapps.JSONReader and ls.snapps.JSONWriter libraries.

I suggest you document this in the next release, because it wasn&#039;t clear to me, initially.

Thanks for the classes though.</description>
		<content:encoded><![CDATA[<p>Okay, I worked it out.</p>
<p>In order to get the &#8220;round tripping&#8221; that you mentioned, we have to use the class definitions in ls.<a href="http://www.snapps.com" target='_blank'>snapps</a>.JSONWrapperConverters instead of the ones in ls.<a href="http://www.snapps.com" target='_blank'>snapps</a>.JSONObject and ls.<a href="http://www.snapps.com" target='_blank'>snapps</a>.JSONArray.</p>
<p>To enable that to happen, I simply had to open up the ls.<a href="http://www.snapps.com" target='_blank'>snapps</a>.JSONReader library, and comment out these two lines:</p>
<p>Use &#8220;ls.<a href="http://www.snapps.com" target='_blank'>snapps</a>.JSONArray&#8221;<br />
Use &#8220;ls.<a href="http://www.snapps.com" target='_blank'>snapps</a>.JSONObject&#8221;</p>
<p>and add this line instead:</p>
<p>Use &#8220;ls.<a href="http://www.snapps.com" target='_blank'>snapps</a>.JSONWrapperConverters&#8221;</p>
<p>In my agent or button code, I then include the ls.<a href="http://www.snapps.com" target='_blank'>snapps</a>.JSONReader and ls.<a href="http://www.snapps.com" target='_blank'>snapps</a>.JSONWriter libraries.</p>
<p>I suggest you document this in the next release, because it wasn&#8217;t clear to me, initially.</p>
<p>Thanks for the classes though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Brown</title>
		<link>http://ekrantz.com/index.php/2008/02/14/lotusscript-and-json-living-together.html/comment-page-1#comment-1376</link>
		<dc:creator>Mike Brown</dc:creator>
		<pubDate>Mon, 30 Nov 2009 02:22:33 +0000</pubDate>
		<guid isPermaLink="false">http://ekrantz.com/index.php/2008/02/14/lotusscript-and-json-living-together.html#comment-1376</guid>
		<description>Which of your libraries do I need to include (i.e. &quot;Use&quot;) for this to work?

The JSONObject class defined in the ls.snapps.JSONObject library has no ToJSON  method.  The version defined in the ls.snapps.JSONWrapperConverters library does have this method but I got get errors whenever I try to include this library.

And why is the JSONObject class defined twice anyway?

Cheers,

- Mike</description>
		<content:encoded><![CDATA[<p>Which of your libraries do I need to include (i.e. &#8220;Use&#8221;) for this to work?</p>
<p>The JSONObject class defined in the ls.<a href="http://www.snapps.com" target='_blank'>snapps</a>.JSONObject library has no ToJSON  method.  The version defined in the ls.<a href="http://www.snapps.com" target='_blank'>snapps</a>.JSONWrapperConverters library does have this method but I got get errors whenever I try to include this library.</p>
<p>And why is the JSONObject class defined twice anyway?</p>
<p>Cheers,</p>
<p>- Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viktor</title>
		<link>http://ekrantz.com/index.php/2008/02/14/lotusscript-and-json-living-together.html/comment-page-1#comment-377</link>
		<dc:creator>Viktor</dc:creator>
		<pubDate>Fri, 15 Feb 2008 14:40:37 +0000</pubDate>
		<guid isPermaLink="false">http://ekrantz.com/index.php/2008/02/14/lotusscript-and-json-living-together.html#comment-377</guid>
		<description>&lt;p&gt;Thomas,&lt;br /&gt;
We changed it to the Apache license. It was changed to that a few hours after it was first posted back in January.&lt;br /&gt;
Where did you get your information?&lt;/p&gt;
&lt;p&gt;This is what the download page says:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);&lt;br /&gt;
you may not use this file except in compliance with the License.&lt;br /&gt;
You may obtain a copy of the License at&lt;/p&gt;
&lt;p&gt;http://www.apache.org/licenses/LICENSE-2.0&lt;/p&gt;
&lt;p&gt;Unless required by applicable law or agreed to in writing, software&lt;br /&gt;
distributed under the License is distributed on an &quot;AS IS&quot; BASIS,&lt;br /&gt;
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&lt;br /&gt;
See the License for the specific language governing permissions and limitations under the License.&lt;/p&gt;&lt;/blockquote&gt;


</description>
		<content:encoded><![CDATA[<p>Thomas,<br />
We changed it to the Apache license. It was changed to that a few hours after it was first posted back in January.<br />
Where did you get your information?</p>
<p>This is what the download page says:</p>
<blockquote><p>Licensed under the Apache License, Version 2.0 (the &#8220;License&#8221;);<br />
you may not use this file except in compliance with the License.<br />
You may obtain a copy of the License at</p>
<p><a href="http://www.apache.org/licenses/LICENSE-2.0" rel="nofollow">http://www.apache.org/licenses/LICENSE-2.0</a></p>
<p>Unless required by applicable law or agreed to in writing, software<br />
distributed under the License is distributed on an &#8220;AS IS&#8221; BASIS,<br />
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br />
See the License for the specific language governing permissions and limitations under the License.</p>
</blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Bahn</title>
		<link>http://ekrantz.com/index.php/2008/02/14/lotusscript-and-json-living-together.html/comment-page-1#comment-376</link>
		<dc:creator>Thomas Bahn</dc:creator>
		<pubDate>Thu, 14 Feb 2008 21:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://ekrantz.com/index.php/2008/02/14/lotusscript-and-json-living-together.html#comment-376</guid>
		<description>It&#039;s a pity, you decided to put the library under GPL instead of the LGPL. This way, the library can only be used in Open Source. Simply, this renders it useless for me and perhaps many others.</description>
		<content:encoded><![CDATA[<p>It&#8217;s a pity, you decided to put the library under GPL instead of the LGPL. This way, the library can only be used in Open Source. Simply, this renders it useless for me and perhaps many others.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
