API-Handle
    
    
  
  
  
view release on metacpan or search on metacpan
lib/API/Handle.pm view on Meta::CPAN
#has _util     # TODO factor all the _methods to $self->util->methods... or not
has _json => (
	is => 'rw'
	, isa => 'JSON::XS'
	, lazy => 1
	, required => 1
	, default => sub {
		require JSON::XS;
		 return JSON::XS->new->utf8->ascii->relaxed;
	}
);
has _xml => (
	is => 'rw'
	, isa => 'XML::TreePP'
	, lazy => 1
	, required => 1
	, default => sub {
		require XML::TreePP;
		 return new XML::TreePP (
			output_encoding => 'UTF-8'
			, utf8_flag => 1
			, attr_prefix => '-'
			, indent => 2
			, use_ixhash => 1
		);
	}
);
has ua => (
	is => 'rw'
	, isa => 'LWP::UserAgent'
( run in 0.312 second using v1.01-cache-2.11-cpan-5dc5da66d9d )