in reply to Human-readable serialization formats other than YAML?

Depending on your particular audience, JSON might be a good format. It's a very simple format, especially for programmers. I use the module JSON::DWIW to generate and parse JSON in my programs.
  • Comment on Re: Human-readable serialization formats other than YAML?

Replies are listed 'Best First'.
Re^2: Human-readable serialization formats other than YAML?
by adamk (Chaplain) on Apr 23, 2008 at 10:15 UTC
    JSON uses the same subset of data structures as YAML::Tiny.

    If he wants a "human-readable" storage format that supports objects, JSON won't help.
Re^2: Human-readable serialization formats other than YAML?
by Anonymous Monk on Apr 23, 2008 at 03:12 UTC
    So is Data::Dumper, especially for perl programmers :p
Re^2: Human-readable serialization formats other than YAML?
by atemerev (Beadle) on Apr 23, 2008 at 14:13 UTC

    I like JSON myself and use it extensively for data transfer purposes (it's about as compact as plaintext serialization format could ever be), but it's not particularly human-readable, even when pretty-printed. This is especially the case with multi-line strings mentioned in this example.

    Still, it might be enough for debugging purposes. But so is any other text serialization format. Even (G-d forbid!) XML. With CDATA sections.