1JSON::RPC::Common::MarsUhsaelr::CToenxttr(i3b)uted PerlJDSoOcNu:m:eRnPtCa:t:iCoonmmon::Marshal::Text(3)
2
3
4

NAME

6       JSON::RPC::Common::Marshal::Text - JSON text marshalling for
7       JSON::RPC::Common.
8

VERSION

10       version 0.11
11

SYNOPSIS

13               use JSON::RPC::Common::Marshal::Text;
14
15               my $m = JSON::RPC::Common::Marshal::Text->new;
16
17               my $return_obj = $m->json_to_return($json_text);
18

DESCRIPTION

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

ATTRIBUTES

25       json
26           The JSON object to use. A default one will be created if not
27           specified.
28
29       call_class
30       return_class
31           The classes to call "inflate" on.
32
33           Defaults to JSON::RPC::Common::Procedure::Call and
34           JSON::RPC::Common::Procedure::Return.
35

METHODS

37       call_to_json
38       json_to_call
39       return_to_json
40       json_to_return
41           These methods do the conversion from objects to json and vice
42           versa.
43

AUTHOR

45       Yuval Kogman <nothingmuch@woobling.org>
46
48       This software is copyright (c) 2014 by Yuval Kogman and others.
49
50       This is free software; you can redistribute it and/or modify it under
51       the same terms as the Perl 5 programming language system itself.
52
53
54
55perl v5.30.1                      2020-01-30JSON::RPC::Common::Marshal::Text(3)
Impressum