Re: JSON serialization

[email protected] (Pedro Melo)
Newsgroups perl.moose
Message-ID <[email protected]>
Hi,

2011/2/15 Jiří Pavlovský <[email protected]>:
> I'm pondering what way to use to serialize my Moose classes to JSON. I've
> have been looking to MooseX::Storage but it seems it cannot handle more than
> basic attribute types. Just the very first class I tried: "Cannot handle
> type constraint (MooseX::Types::URI::Uri)"
> There seems to be a way to add custom handlers, but the documentation is
> scarce.
> I also tried the MooseX::Storage::Format::JSONpm, but the result is the
> same.

Have you looked at KiokuDB? It does what you want, but it might do
more than you need.

Bye,
-- 
Pedro Melo
http://www.simplicidade.org/
xmpp:[email protected]
mailto:[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.