On 2015-10-15 02:06 PM, Rubén Amórtegui wrote: > Is there a way to acces to "to_json" and "from_json" on the plugin?
Dancer2 uses the module 'JSON', so I'd do the same in the plugin:
use JSON;
my $struct = from_json $data;
Or you could use JSON::XS, or any of the different flavors. They all
(should) play well together.
Joy,
`/.
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
