Alexis Sukrieh > Dancer-1.9999_01 > Dancer::Serializer::JSON

Download:
Dancer-1.9999_01.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.9999_01   Source   Latest Release: Dancer-1.3130

NAME ^

Dancer::Serializer::JSON - Serializer for handling JSON data

VERSION ^

version 1.9999_01

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) 2012 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: