Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Human readable/writable serialization alternatives to YAML and XML ?

by elmex (Friar)
on Mar 09, 2009 at 08:37 UTC ( #749224=note: print w/replies, xml ) Need Help??


in reply to Re: Human readable/writable serialization alternatives to YAML and XML ?
in thread Human readable/writable serialization alternatives to YAML and XML ?

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

  • Comment on Re^2: Human readable/writable serialization alternatives to YAML and XML ?

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
    And the author of YAML told on a recent conference that there indeed was a slight difference between JSON and YAML, and that the YAML specification was recently relaxed to make JSON a proper subset of YAML.
      AFAIK there are currently no parsers that support JSON as yml.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://749224]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2021-02-27 19:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?