The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Search::Elasticsearch::Serializer::JSON - The default JSON Serializer, using JSON::MaybeXS

VERSION

version 2.00

SYNOPSIS

    $e = Search::Elasticsearch(
        # serializer => 'JSON'
    );

DESCRIPTION

This default Serializer class chooses between:

First it checks if either Cpanel::JSON::XS or JSON::XS is already loaded and, if so, uses the appropriate backend. Otherwise it tries to load Cpanel::JSON::XS, then JSON::XS and finally JSON::PP.

If you would prefer to specify a particular JSON backend, then you can do so by using one of these modules:

See their documentation for details.

AUTHOR

Clinton Gormley <drtech@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2015 by Elasticsearch BV.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004