Dancer::Serializer::JSON man page on Pidora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Pidora logo
[printable version]

Dancer::Serializer::JSUser)Contributed Perl DocumenDancer::Serializer::JSON(3)

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 has 2 configuration variables that can be useful when
       working with ORM's like DBIx::Class: allow_blessed and convert_blessed.
       Please consult the JSON documentation for more information. You can add
       extra settings to the engines configuration to turn these on.

	   engines:
	       JSON:
		   allow_blessed: '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.1			  2011-06-15	   Dancer::Serializer::JSON(3)
[top]

List of man pages available for Pidora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net