JSON::RPC::Common::Marshal::Text - JSON text marshalling for JSON::RPC::Common.
version 0.11
use JSON::RPC::Common::Marshal::Text; my $m = JSON::RPC::Common::Marshal::Text->new; my $return_obj = $m->json_to_return($json_text);
This object serializes JSON::RPC::Common::Procedure::Call and JSON::RPC::Common::Procedure::Return objects into JSON text using the JSON module.
The JSON object to use. A default one will be created if not specified.
The classes to call inflate on.
inflate
Defaults to JSON::RPC::Common::Procedure::Call and JSON::RPC::Common::Procedure::Return.
These methods do the conversion from objects to json and vice versa.
Yuval Kogman <nothingmuch@woobling.org>
This software is copyright (c) 2014 by Yuval Kogman and others.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install JSON::RPC::Common, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JSON::RPC::Common
CPAN shell
perl -MCPAN -e shell install JSON::RPC::Common
For more information on module installation, please visit the detailed CPAN module installation guide.