<?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: New release of Stringtree, now with easy JSON</title>
	<atom:link href="http://blog.stringtree.org/2007/03/26/new-release-of-stringtree-now-with-easy-json/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.stringtree.org/2007/03/26/new-release-of-stringtree-now-with-easy-json/</link>
	<description>Stringtree Development News</description>
	<pubDate>Wed, 19 Nov 2008 23:12:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Stringtree</title>
		<link>http://blog.stringtree.org/2007/03/26/new-release-of-stringtree-now-with-easy-json/#comment-2288</link>
		<dc:creator>Stringtree</dc:creator>
		<pubDate>Tue, 17 Apr 2007 15:47:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stringtree.org/?p=7#comment-2288</guid>
		<description>I might just try that, although it would mean installing an extra JRE on all the various machines I develop on.

As a side note, there is now a shiny new release at Sourceforge. Please feel free to let me know of any other suggestions!</description>
		<content:encoded><![CDATA[<p>I might just try that, although it would mean installing an extra JRE on all the various machines I develop on.</p>
<p>As a side note, there is now a shiny new release at Sourceforge. Please feel free to let me know of any other suggestions!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JÃ¶rn Zaefferer</title>
		<link>http://blog.stringtree.org/2007/03/26/new-release-of-stringtree-now-with-easy-json/#comment-2287</link>
		<dc:creator>JÃ¶rn Zaefferer</dc:creator>
		<pubDate>Tue, 17 Apr 2007 15:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stringtree.org/?p=7#comment-2287</guid>
		<description>Thanks, thats great news.

At least you can tell Eclipse to use a specific JRE for a project, so you can just install a 1.4 JRE and set your project to use that.</description>
		<content:encoded><![CDATA[<p>Thanks, thats great news.</p>
<p>At least you can tell Eclipse to use a specific JRE for a project, so you can just install a 1.4 JRE and set your project to use that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stringtree</title>
		<link>http://blog.stringtree.org/2007/03/26/new-release-of-stringtree-now-with-easy-json/#comment-2285</link>
		<dc:creator>Stringtree</dc:creator>
		<pubDate>Tue, 17 Apr 2007 14:38:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stringtree.org/?p=7#comment-2285</guid>
		<description>Thanks for the comment. I have been intending for a while to fix this and make Stringtree JSON 1.4 compatible again. The "Iterable" slipped in because I typically develop on Java 5, and even though I tell Eclipse to use Java 1.4 mode when developing Stringtree, it's not smart enough to warn against the use of Java 5 APIs.

Expect a 1.4 compatible version soon!</description>
		<content:encoded><![CDATA[<p>Thanks for the comment. I have been intending for a while to fix this and make Stringtree JSON 1.4 compatible again. The &#8220;Iterable&#8221; slipped in because I typically develop on Java 5, and even though I tell Eclipse to use Java 1.4 mode when developing Stringtree, it&#8217;s not smart enough to warn against the use of Java 5 APIs.</p>
<p>Expect a 1.4 compatible version soon!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JÃ¶rn Zaefferer</title>
		<link>http://blog.stringtree.org/2007/03/26/new-release-of-stringtree-now-with-easy-json/#comment-2284</link>
		<dc:creator>JÃ¶rn Zaefferer</dc:creator>
		<pubDate>Tue, 17 Apr 2007 13:08:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stringtree.org/?p=7#comment-2284</guid>
		<description>I've already enjoyed using Stringtree JSON a lot. A few issues I found, mostly related to my requirment of running on JRE 14.:
- I had to remove the check for Iterable in JSONWriter and compile the JAR file for 1.4 to get it working
- removing the support for iterable disables support for any collection classes, eg. I have to call ArrayList.toArray(), otherwise only the arraylist object is serialized

I really wish I could use Java 5 myself, but currently it looks like I've still got to wait for a few years. It would be great if you could make Stringtree JSON compatible with 1.4 out-of-the-box. Considering the very little amount of dependency on Java 5 it should be quite easy to achieve.

Regards
JÃ¶rn</description>
		<content:encoded><![CDATA[<p>I&#8217;ve already enjoyed using Stringtree JSON a lot. A few issues I found, mostly related to my requirment of running on JRE 14.:<br />
- I had to remove the check for Iterable in JSONWriter and compile the JAR file for 1.4 to get it working<br />
- removing the support for iterable disables support for any collection classes, eg. I have to call ArrayList.toArray(), otherwise only the arraylist object is serialized</p>
<p>I really wish I could use Java 5 myself, but currently it looks like I&#8217;ve still got to wait for a few years. It would be great if you could make Stringtree JSON compatible with 1.4 out-of-the-box. Considering the very little amount of dependency on Java 5 it should be quite easy to achieve.</p>
<p>Regards<br />
JÃ¶rn</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stringtree</title>
		<link>http://blog.stringtree.org/2007/03/26/new-release-of-stringtree-now-with-easy-json/#comment-1864</link>
		<dc:creator>Stringtree</dc:creator>
		<pubDate>Wed, 28 Mar 2007 08:40:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stringtree.org/?p=7#comment-1864</guid>
		<description>Seth, thanks for the nice words, and an interesting question.

None of the Stringtree JSON classes are explicitly threadsafe. They are Object-Oriented in that each object manages its own state during a sequence of internal method calls. 

I recommend that each thread, or each method call which might be used in a multithreaded environment construct a new JSONReader or JSONWriter object. In general this should not be a major issue, though, as they are all deliberately very light to construct. I generally recommend treating a JSONReader or JSONWriter as you would a StringBuffer or other state-managing object.

However, adding explicitly threadsafe versions of the "JSON trilogy" classes is an interesting idea. I'll think about it and see if it can be done in an effective way.</description>
		<content:encoded><![CDATA[<p>Seth, thanks for the nice words, and an interesting question.</p>
<p>None of the Stringtree JSON classes are explicitly threadsafe. They are Object-Oriented in that each object manages its own state during a sequence of internal method calls. </p>
<p>I recommend that each thread, or each method call which might be used in a multithreaded environment construct a new JSONReader or JSONWriter object. In general this should not be a major issue, though, as they are all deliberately very light to construct. I generally recommend treating a JSONReader or JSONWriter as you would a StringBuffer or other state-managing object.</p>
<p>However, adding explicitly threadsafe versions of the &#8220;JSON trilogy&#8221; classes is an interesting idea. I&#8217;ll think about it and see if it can be done in an effective way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://blog.stringtree.org/2007/03/26/new-release-of-stringtree-now-with-easy-json/#comment-1849</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Tue, 27 Mar 2007 14:21:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stringtree.org/?p=7#comment-1849</guid>
		<description>Stringtree appears to be the best of breed for Java JSON libraries. Which classes are threadsafe? Thank you!</description>
		<content:encoded><![CDATA[<p>Stringtree appears to be the best of breed for Java JSON libraries. Which classes are threadsafe? Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaveman&#8217;s Daily Feed of Informative Blogs &#187; New release of Stringtree, now with easy JSON</title>
		<link>http://blog.stringtree.org/2007/03/26/new-release-of-stringtree-now-with-easy-json/#comment-1829</link>
		<dc:creator>Kaveman&#8217;s Daily Feed of Informative Blogs &#187; New release of Stringtree, now with easy JSON</dc:creator>
		<pubDate>Mon, 26 Mar 2007 11:56:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stringtree.org/?p=7#comment-1829</guid>
		<description>[...] Original post by Stringtree [...]</description>
		<content:encoded><![CDATA[<p>[...] Original post by Stringtree [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
