Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Dancer2 serializer mutable

by perl_help27 (Acolyte)
on Nov 08, 2018 at 20:30 UTC ( [id://1225456]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Dancer2;
    set serializer => 'Mutable';
    ...
        return { id => $id, name => 'frank' };
    }
    dance;
    
  2. or download this
     {"id" => 1,"name" => "frank"} did not pass type constraint "Value" (i
    +n $self->{"content"})
        "Value" is defined as: (defined($_) and not ref($_)) in /usr/local
    +/share/perl5/Dancer2/Core/App.pm l. 1473
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1225456]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-03-28 14:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found