download their models
use strict;
use warnings;
use v5.10.0; # provides "say" and "state"
use JSON::MaybeXS;
use File::Valet;
use Time::HiRes;
use Time::TAI::Simple;
our $VERSION = '1.00';
sub n
ce',
trace_ar => [sprintf('SKH:%08X', int(rand() * 0xFFFFFFFF))],
js_or => JSON::MaybeXS->new(ascii => 1, allow_nonref => 1, space_after => 1)
};
bless ($self, $class);
}
sub safely_to_json {
my ($self, $r) = @_;
my $js = eval { $self->{js_or}->encode($r); };
$self->{ex} = $@ unless(defined($js));
return $js;
}
sub safely_from_json {
my ($self,