<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Languages of the real and artificial - Latest Comments in Readable JavaScript Values</title><link>http://osteele.disqus.com/</link><description></description><atom:link href="https://osteele.disqus.com/readable_javascript_values/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 27 Sep 2007 09:11:21 -0000</lastBuildDate><item><title>Re: Readable JavaScript Values</title><link>http://blog.osteele.com/archives/2006/03/readable-javascript-values#comment-4881058</link><description>&lt;p&gt;I think your constructor checks in Readable.toReadable(value,options) for Regexp, String etc should also include Date to use the native toString() date stringifier.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vijay Santhanam</dc:creator><pubDate>Thu, 27 Sep 2007 09:11:21 -0000</pubDate></item><item><title>Re: Readable JavaScript Values</title><link>http://blog.osteele.com/archives/2006/03/readable-javascript-values#comment-4881057</link><description>&lt;p&gt;Nope, not sure what i was witnessing, but new String(value) is wrong too. String(value) is now working for me. Readable.toReadable(null) returns a string now&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vijay Santhanam</dc:creator><pubDate>Thu, 20 Sep 2007 13:25:42 -0000</pubDate></item><item><title>Re: Readable JavaScript Values</title><link>http://blog.osteele.com/archives/2006/03/readable-javascript-values#comment-4881056</link><description>&lt;p&gt;Thanks Oliver. This is very handy.&lt;/p&gt;&lt;p&gt;I'm starting to code thicker clients with javascript and I've been looking for cool debugging tools like this.&lt;/p&gt;&lt;p&gt;Is it okay if I try merging this with jquery.debug?&lt;br&gt;&lt;a href="http://jquery.glyphix.com/" rel="nofollow noopener" target="_blank" title="http://jquery.glyphix.com/"&gt;http://jquery.glyphix.com/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Also, I believe the first check for null and undefined in Readable.toReadable(value,options) should return a "new String(value)" and not "String(value)".&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vijay Santhanam</dc:creator><pubDate>Thu, 20 Sep 2007 13:11:49 -0000</pubDate></item><item><title>Re: Readable JavaScript Values</title><link>http://blog.osteele.com/archives/2006/03/readable-javascript-values#comment-4881055</link><description>&lt;p&gt;Thanks, Oliver.&lt;br&gt;This is a much needed tool that saved the day today and I'm sure on many future days.&lt;br&gt;Good work! Now to spread the word.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rick Thomas</dc:creator><pubDate>Wed, 24 May 2006 23:58:23 -0000</pubDate></item><item><title>Re: Readable JavaScript Values</title><link>http://blog.osteele.com/archives/2006/03/readable-javascript-values#comment-4881054</link><description>&lt;p&gt;Good question.  In brief, JSON output is intended for consumption by computers and by libraries written in other languages, and Readable output is intended for humans.  This has all sorts of repercussions such as whether RegExps, null, undefined, and NaN are represented; whether representations can be limited in length or depth, and so on.  For a longer answer, see the bottom of the docs &lt;a href="http://osteele.com/sources/javascript/docs/readable" rel="nofollow noopener" target="_blank" title="http://osteele.com/sources/javascript/docs/readable"&gt;http://osteele.com/sources/...&lt;/a&gt;, where I've just added a list of differences.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">osteele</dc:creator><pubDate>Wed, 08 Mar 2006 21:09:06 -0000</pubDate></item><item><title>Re: Readable JavaScript Values</title><link>http://blog.osteele.com/archives/2006/03/readable-javascript-values#comment-4881053</link><description>&lt;p&gt;How does this compare to JSON?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Asger Ottar Alstrup</dc:creator><pubDate>Wed, 08 Mar 2006 07:22:14 -0000</pubDate></item></channel></rss>