NAME

OpenSearch::Client::Serializer::JSON - The default JSON Serializer, using JSON::MaybeXS

VERSION

version 3.007002

SYNOPSIS

$os = OpenSearch::Client->new(
    # 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.

MANUAL

Documentation index OpenSearch::Client::Manual

HISTORY

This distribution is derived from Search::Elasticsearch version 7.714. All subsequent changes are unique to this distribution.

AUTHOR

Mark Dootson <mdootson@cpan.org> ( current maintainer )

CREDITS

OpenSearch::Client is based on Search::Elasticsearch version 7.714 by Enrico Zimuel <enrico.zimuel@elastic.co>.

COPYRIGHT AND LICENSE

Copyright (C) 2026 by Mark Dootson ( this distribution )

Copyright (C) 2021 by Elasticsearch BV ( original distribution )

This is free software, licensed under:

The Apache License, Version 2.0, January 2004