The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Name

CatalystX::Usul::View::JSON - Render JSON response to an XMLHttpRequest

Version

Describes v0.17.$Rev: 1 $

Synopsis

   MyApp->config( "View::JSON"   => {
                  parent_classes => qw(CatalystX::Usul::View::JSON) } );

Description

The JSON view is used to generate JSON data blocks in response to Javascript XMLHttpRequests from a client that has selected this as the required content type

Subroutines/Methods

deserialize

Decodes the supplied data. Calls decode_json to get the work done

serialize

Returns the supplied data encoded as JSON. Calls decode_json to get the work done

Configuration and Environment

None

Diagnostics

None

Dependencies

CatalystX::Usul::View
JSON

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Author

Peter Flanigan, <Support at RoxSoft.co.uk>

License and Copyright

Copyright (c) 2014 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE