Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by elmex (Friar)
on Mar 09, 2009 at 08:37 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://749224]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2024-04-23 10:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found