1JSON::RPC::Common::MarsUhsaelr::CToenxttr(i3b)uted PerlJDSoOcNu:m:eRnPtCa:t:iCoonmmon::Marshal::Text(3)
2
3
4
6 JSON::RPC::Common::Marshal::Text - JSON text marshalling for
7 JSON::RPC::Common.
8
10 use JSON::RPC::Common::Marshal::Text;
11
12 my $m = JSON::RPC::Common::Marshal::Text->new;
13
14 my $return_obj = $m->json_to_return($json_text);
15
17 This object serializes JSON::RPC::Common::Procedure::Call and
18 JSON::RPC::Common::Procedure::Return objects into JSON text using the
19 JSON module.
20
22 json
23 The JSON object to use. A default one will be created if not
24 specified.
25
26 call_class
27 return_class
28 The classes to call "inflate" on.
29
30 Defaults to JSON::RPC::Common::Procedure::Call and
31 JSON::RPC::Common::Procedure::Return.
32
34 call_to_json
35 json_to_call
36 return_to_json
37 json_to_return
38 These methods do the conversion from objects to json and vice
39 versa.
40
41
42
43perl v5.12.0 2009-01-10JSON::RPC::Common::Marshal::Text(3)