Elasticsearch/Serializer/JSON/PP.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
« Elasticsearch/Serializer/JSON/Cpanel.pm ↑ Summary Elasticsearch/Serializer/JSON/XS.pm »
1 # Licensed to Elasticsearch B.V under one or more agreements.
2 # Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3 # See the LICENSE file in the project root for more information
4  
5 package Search::Elasticsearch::Serializer::JSON::PP;
6 3 $Search::Elasticsearch::Serializer::JSON::PP::VERSION = '7.30_1'; # TRIAL
7  
8 3 $Search::Elasticsearch::Serializer::JSON::PP::VERSION = '7.301';
9 3 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 3 ▶use JSON::PP;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 3 ▶has 'JSON' => ( is => 'ro', default => sub { JSON::PP->new->utf8(1) } );
Subroutine __ANON__: called CC=1 SCAR=0.0
13  
14 3 with 'Search::Elasticsearch::Role::Serializer::JSON';
15  
16 3 1;
17  
18 # ABSTRACT: A JSON Serializer using JSON::PP
19  
20 __END__
« Elasticsearch/Serializer/JSON/Cpanel.pm ↑ Summary Elasticsearch/Serializer/JSON/XS.pm »