creating new stringy types is not recommended, so limit our importing to just
the sugar we need.
Alternatively, you can use duck typing:
- use Moose::Util::TypeConstraints;
+ use Moose::Util::TypeConstraints 'duck_type';
is 'json' => ( isa => Object , duck_type([qw/ encode decode /]));
=head1 AUTHOR