* Ovid <[EMAIL PROTECTED]> [2008-08-18T11:17:25] > Oh, definitely agreed. I cannot assert that non-Perl implementations of JSON > are any better, but JSON is simple enough that I'm pretty damned sure they > are. However, YAML is so problematic that I *CAN* state that non-Perl > versions are often as problematic as Perl's.
I can. There are basically three good implementations of YAML. PyYAML, libYAML, and the Haskell YAML. libyaml is kinda sorta available in some non-C langauges with bindings. In Perl, you can use it with default settings, with none of the features (beyond prettiness) that make YAML more useful than JSON. There are many, many useful implementations of JSON in other languages. Some of them have edgey bugs, but those are easy to fix because the spec is simple. For example, PHP's JSON does not understand 0e0 as the number 0. Meanwhile, YAML 1.2 continues to ambiguously imply that 1:23:45.6 is a floating-point sexagesimal number. Which are more people going to be able to implement correctly, JSON or YAML? -- rjbs