JSON::RPC::Common::Marshal::Text(3pm)

JSON::RPC::Common::Marshal::Text3pm

Json text marshalling for json::rpc::common.

Usage

        use JSON::RPC::Common::Marshal::Text;
        my $m = JSON::RPC::Common::Marshal::Text->new;
        my $return_obj = $m->json_to_return($json_text);

Version

version 0.11

Overview

This object serializes JSON::RPC::Common::Procedure::Call and JSON::RPC::Common::Procedure::Return objects into JSON text using the JSON module.

Attributes

json

The JSON object to use. A default one will be created if not specified.

call_class
return_class

The classes to call "inflate" on.

Defaults to JSON::RPC::Common::Procedure::Call and JSON::RPC::Common::Procedure::Return.

Methods

call_to_json
json_to_call
return_to_json
json_to_return

These methods do the conversion from objects to json and vice versa.

Releases

Unchanged in 3 releases since Debian 11 (Bullseye).

  1. 11–13

Author

Yuval Kogman <[email protected]>

From libjson-rpc-common-perl 0.11-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.