Paul Driver > POE-Component-Client-CouchDB-0.05 > POE::Component::Client::REST::JSON

Download:
POE-Component-Client-CouchDB-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.05   Source  

NAME ^

POE::Component::Client::REST::JSON - Low-level interface for JSON REST calls

VERSION ^

Version 0.05

SYNOPSIS ^

This is just a thin specialization of POE::Component::Client::REST that does some JSON encoding and decoding - see the methods for details.

METHODS ^

cook_request

All requests get their content encoded into JSON and some appropriate headers set.

cook_response

Responses are deserialized from JSON, and callbacks receive two arguments: the deserialized structure and the HTTP::Response object.

AUTHOR ^

Paul Driver, <frodwith at cpan.org>

BUGS ^

Probably.

COPYRIGHT & LICENSE ^

Copyright 2008 Paul Driver

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

syntax highlighting: