e RPC::ExtDirect::Client;
use strict;
use warnings;
no warnings 'uninitialized';
use Carp;
use JSON;
use File::Spec;
use RPC::ExtDirect::Util ();
use RPC::ExtDirect::Config;
use RPC::ExtDirect;
,
# so that die() wouldn't munge it. Easier to do and beats stripping
# that \n any time. JSON or other packages could throw a plain string
# though, so we need to guard against that.
approved format, so no outer eval
my $meta_json = $self->_formalize_metadata($method, $trans);
$fields->{metadata} = $meta_json if $meta_json;
return $fields;
}
### PRIVATE INSTANCE