Non Sucking YAML parser
Matt S Trout
dbix-class at trout.me.uk
Wed Sep 13 10:34:49 BST 2006
Simon Wistow wrote:
> I'm trying to do some interop between Java and Perl. I'm trying to avoid
> XML. I thought I'd try JSON or YAML.
> The Java stuff works fine. YAML.pm seems to fail to parse half the
> data, YAML::Tiny bitches about malformedness, YAML::Syck seems to parse
> ok but then only ever returns 1 object even when there are multiple
> ones. JSON.pm fails to work.
If you have a list of objects in a single stream rather than multiple streams
::Syck will work IIRC.
> Should I just give up and switch to XML now?
Or CORBA ...
Matt S Trout Offering custom development, consultancy and support
Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the london.pm