As for JSON being more readable, JSON is actually a subset of YAML - anything that is valid JSON is valid YAML as well (but not the other way around).
Just for the sake of correctness: JSON is not a 100% subset of YAML. The author of the JSON::XS module researched that topic: http://search.cpan.org/~mlehmann/JSON-XS-2.232/XS.pm#JSON_and_YAML
|Replies are listed 'Best First'.|
Re^3: Human readable/writable serialization alternatives to YAML and XML ?
by JavaFan (Canon) on Mar 09, 2009 at 10:29 UTC
by Anonymous Monk on Mar 09, 2009 at 10:49 UTC