[Dbix-class] RFC: DBIx::Class::JSON

Brian Kirkbride brian.kirkbride at deeperbydesign.com
Fri Sep 15 21:54:02 CEST 2006


Matt S Trout wrote:
> I think what I'd like to see is a general serialization interface that plugins 
> can be written for. Something like
> 
> __PACKAGE__->load_components(qw/Serializer/);
> __PACKAGE__->serialization_options({ follow_rels => ... });
> 
> ...
> 
> $obj->serialize_to('JSON');
> $obj->serialize_to('XML');
> 
> etc.
> 
> How does that look to you guys?
> 

++



More information about the Dbix-class mailing list