in reply to Which format is best to consume from a webservice?

For readability, I'd rule out JSON. So then you have to choose between XML and YAML. XML::LibXML is (probably) stricter and has been around for longer. It is also considerably heavier than YAML::Syck, which is light and fast.

As far as cross platform usability, well probably six of one, a half dozen of the other.(See cpandeps for XML::LibXML vs cpandeps for YAML::Syck)

Personally, I've found both modules very reliable. However, I would avoid the pure Perl YAML, as I've been bitten by bugs in it on more than one occasion.

Clint

  • Comment on Re: Which format is best to consume from a webservice?

Replies are listed 'Best First'.
Re^2: Which format is best to consume from a webservice?
by Anonymous Monk on Aug 14, 2007 at 16:27 UTC
    After looking around a bit more, I like the idea of JSON::Any. Amazed there isn't a YAML::Any.