| 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__ | ||