Sawyer X > Dancer2-0.07 > Dancer2::Serializer::JSON

Download:
Dancer2-0.07.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.07   Source   Latest Release: Dancer2-0.13

NAME ^

Dancer2::Serializer::JSON - Serializer for handling JSON data

VERSION ^

version 0.07

SYNOPSIS ^

DESCRIPTION ^

Turn Perl data structures into JSON output and vice-versa.

METHODS ^

serialize

Serialize a Perl data structure into a JSON string.

deserialize

Deserialize a JSON string into a Perl data structure

content_type

return 'application/json'

AUTHOR ^

Dancer Core Developers

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Alexis Sukrieh.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: