NAME
Net::OpenSocial::Client::Formatter::JSON - JSON formatter
SYNOPSIS
my $formatter = Net::OpenSocial::Client::Formatter::JSON->new;
my $request_content = $formatter->encode( $request_obj );
...
my $response_obj = $formatter->decode( $response_content );
DESCRIPTION
JSON formatter
METHODS
content_type
Mime type for the format.
name
Formatter name
encode
Encode perl object to a formatted JSON string.
decode
Decode JSON formatted string to perl object.
AUTHOR
Lyo Kato, <lyo.kato@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Lyo Kato
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.