logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Enrico Zimuel <enrico.zimuel@elastic.co>

Description

       This default Serializer class chooses between:

       •   Cpanel::JSON::XS

       •   JSON::XS

       •   JSON::PP

       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:

       •   Search::Elasticsearch::Serializer::JSON::Cpanel

       •   Search::Elasticsearch::Serializer::JSON::XS

       •   Search::Elasticsearch::Serializer::JSON::PP

       See their documentation for details.

Name

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

Synopsis

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

Version

       version 8.12

See Also