| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package Elasticsearch::Role::Serializer; | 
| 2 |  |  |  |  |  |  | $Elasticsearch::Role::Serializer::VERSION = '1.05'; | 
| 3 | 42 |  |  | 42 |  | 248317 | use Moo::Role; | 
|  | 42 |  |  |  |  | 116 |  | 
|  | 42 |  |  |  |  | 365 |  | 
| 4 |  |  |  |  |  |  |  | 
| 5 |  |  |  |  |  |  | requires qw(encode decode encode_pretty encode_bulk mime_type); | 
| 6 |  |  |  |  |  |  |  | 
| 7 |  |  |  |  |  |  | 1; | 
| 8 |  |  |  |  |  |  |  | 
| 9 |  |  |  |  |  |  | # ABSTRACT: An interface for Serializer modules | 
| 10 |  |  |  |  |  |  |  | 
| 11 |  |  |  |  |  |  | __END__ | 
| 12 |  |  |  |  |  |  |  | 
| 13 |  |  |  |  |  |  | =pod | 
| 14 |  |  |  |  |  |  |  | 
| 15 |  |  |  |  |  |  | =encoding UTF-8 | 
| 16 |  |  |  |  |  |  |  | 
| 17 |  |  |  |  |  |  | =head1 NAME | 
| 18 |  |  |  |  |  |  |  | 
| 19 |  |  |  |  |  |  | Elasticsearch::Role::Serializer - An interface for Serializer modules | 
| 20 |  |  |  |  |  |  |  | 
| 21 |  |  |  |  |  |  | =head1 VERSION | 
| 22 |  |  |  |  |  |  |  | 
| 23 |  |  |  |  |  |  | version 1.05 | 
| 24 |  |  |  |  |  |  |  | 
| 25 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 26 |  |  |  |  |  |  |  | 
| 27 |  |  |  |  |  |  | There is no code in this module. It defines an interface for | 
| 28 |  |  |  |  |  |  | Serializer implementations, and requires the following methods: | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  | =over | 
| 31 |  |  |  |  |  |  |  | 
| 32 |  |  |  |  |  |  | =item * | 
| 33 |  |  |  |  |  |  |  | 
| 34 |  |  |  |  |  |  | C<encode()> | 
| 35 |  |  |  |  |  |  |  | 
| 36 |  |  |  |  |  |  | =item * | 
| 37 |  |  |  |  |  |  |  | 
| 38 |  |  |  |  |  |  | C<encode_pretty()> | 
| 39 |  |  |  |  |  |  |  | 
| 40 |  |  |  |  |  |  | =item * | 
| 41 |  |  |  |  |  |  |  | 
| 42 |  |  |  |  |  |  | C<encode_bulk()> | 
| 43 |  |  |  |  |  |  |  | 
| 44 |  |  |  |  |  |  | =item * | 
| 45 |  |  |  |  |  |  |  | 
| 46 |  |  |  |  |  |  | C<decode()> | 
| 47 |  |  |  |  |  |  |  | 
| 48 |  |  |  |  |  |  | =item * | 
| 49 |  |  |  |  |  |  |  | 
| 50 |  |  |  |  |  |  | C<mime_type()> | 
| 51 |  |  |  |  |  |  |  | 
| 52 |  |  |  |  |  |  | =back | 
| 53 |  |  |  |  |  |  |  | 
| 54 |  |  |  |  |  |  | See L<Elasticsearch::Serializer::JSON> for more. | 
| 55 |  |  |  |  |  |  |  | 
| 56 |  |  |  |  |  |  | =head1 AUTHOR | 
| 57 |  |  |  |  |  |  |  | 
| 58 |  |  |  |  |  |  | Clinton Gormley <drtech@cpan.org> | 
| 59 |  |  |  |  |  |  |  | 
| 60 |  |  |  |  |  |  | =head1 COPYRIGHT AND LICENSE | 
| 61 |  |  |  |  |  |  |  | 
| 62 |  |  |  |  |  |  | This software is Copyright (c) 2014 by Elasticsearch BV. | 
| 63 |  |  |  |  |  |  |  | 
| 64 |  |  |  |  |  |  | This is free software, licensed under: | 
| 65 |  |  |  |  |  |  |  | 
| 66 |  |  |  |  |  |  | The Apache License, Version 2.0, January 2004 | 
| 67 |  |  |  |  |  |  |  | 
| 68 |  |  |  |  |  |  | =cut |