Graphite/JSONCodec.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod n/a totaltotal 0.0% 0 / 27 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Net::Async::Graphite::JSONCodec;
2  
3 our $VERSION = '0.0_1';
4  
5 use v5.14;
6 use strictures 2;
7 use Moo::Role;
8 use Carp;
9  
10 use JSON ();
11 use namespace::clean;
12  
13 =item _json (read-only)
14  
15 A L<JSON> codec object.
16  
17 =cut
18  
19 has _json => is => lazy => init_arg => undef, builder => sub {
20 JSON->new->utf8->allow_blessed(1)
21 };
22  
23 1;