ame database ssl json)],
);
use Carp;
use Data::Validator;
use Mouse::Util::TypeConstraints;
use Furl;
use URI::Escape;
use JSON 2;
enum 'TimePrecision' => qw(s m u);
subtype 'JSONBool' => as 'Scal
rRef';
coerce 'JSONBool'
=> from 'Bool' => via { $_ ? \1 : \0 }
=> from 'Object' => via { JSON::is_bool($_) ? ($_ == 1 ? \1 : \0) : \0 }
;
sub new {
state $rule = Data::Validator->new(
oin('/', __PACKAGE__, $VERSION),
timeout => $args->{timeout},
),
json => JSON->new,
status => {},
%$args
}, $class;
return $self;
}
sub debugf {