use JSON::RPC::Spec; my $rpc = JSON::RPC::Spec->new; $rpc->register(echo => sub { $_[0] }); print $rpc->parse( '{"jsonrpc": "2.0", "method": "echo", "params": "Hello, World!", "id": 1}' ); # -> {"jsonrpc":"2.0","result":"Hello, World!","id":1}
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}