debian man page for dancer::serializer::json

Query: dancer::serializer::json

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Dancer::Serializer::JSON(3pm)				User Contributed Perl Documentation			     Dancer::Serializer::JSON(3pm)

NAME
Dancer::Serializer::JSON - serializer for handling JSON data
SYNOPSIS
DESCRIPTION
This class is an interface between Dancer's serializer engine abstraction layer and the JSON module. In order to use this engine, use the template setting: serializer: JSON This can be done in your config.yml file or directly in your app code with the set keyword. This serializer will also be used when the serializer is set to mutable and the correct Accept headers are supplied. The JSON module will pass configuration variables straight through. Some of these can be useful when debugging/developing your app: pretty and canonical, and others useful with ORMs like DBIx::Class: allow_blessed and convert_blessed. Please consult the JSON documentation for more information and a full list of configuration settings. You can add extra settings to the engines configuration to turn these on. For example: engines: JSON: allow_blessed: '1' canonical: '1' convert_blessed: '1'
METHODS
serialize Serialize a data structure to a JSON structure. deserialize Deserialize a JSON structure to a data structure content_type Return 'application/json' perl v5.14.2 2012-02-29 Dancer::Serializer::JSON(3pm)
Related Man Pages
dancer::engine(3pm) - debian
json::rpc::server::daemon(3pm) - debian
jifty::json(3pm) - debian
mojo::json(3pm) - debian
moosex::storage::format::json(3pm) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Installing Dash Shell on OS X Lion
awk or sed - Convert 2 lines to 1 line
Introduction
A (ksh) Library For and From UNIX.com