Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Framework for making Moose-compatible object from json

by Arunbear (Prior)
on Sep 05, 2022 at 11:04 UTC ( #11146695=note: print w/replies, xml ) Need Help??


in reply to Re: Framework for making Moose-compatible object from json
in thread Framework for making Moose-compatible object from json

I'm curious about why MooseX::Storage (mentioned previously in this thread) wasn't up to the task?
  • Comment on Re^2: Framework for making Moose-compatible object from json

Replies are listed 'Best First'.
Re^3: Framework for making Moose-compatible object from json
by nataraj (Sexton) on Sep 05, 2022 at 13:58 UTC
    I'm curious about why MooseX::Storage (mentioned previously in this thread) wasn't up to the task?

    Because I consider that case "object inside object inside object" is common case, and should be solved without any Moose code, just by mentioning "This is a subobject of following type". Like this:

    j_obj "icon" =>(class => "WebService::DreamWidth::Icon", is =>'ro');

    I even thinking about removing "is =>'ro'", making it default. In simple case developer should just list attributes and child objects. This is not case for MooseX::Storage

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11146695]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2023-09-24 00:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?