Ken-
Friday, January 6, 2006, 7:11:24 AM, you wrote:
>> Any chance of writing a JSON parser - should be super simple after
>> all the hard work with XML :)
> True - looks pretty easy!
<g> It'll be hard to beat the one-line Ruby parser:
<code type="ruby">
null=nil; jsonobj =
eval(json.gsub(/(["'])\s*:\s*(['"0-9tfn\[{])/){"#{$1}=>#{$2}"})
</code>
--
-Mark Wieder
[EMAIL PROTECTED]
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution