logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

JSON::RPC::Common::Marshal::Text - JSON text marshalling for JSON::RPC::Common.

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.

Author

       Yuval Kogman <nothingmuch@woobling.org>

Description

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

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.

Name

       JSON::RPC::Common::Marshal::Text - JSON text marshalling for JSON::RPC::Common.

Synopsis

               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

See Also