Search...SON::XS(3pm)
π Search::Elasticsearch::Serializer::JSON::XS π
okay so bestie, this is a page from the User Contributed Perl Documentation, section 3pm, and it's all about the serializer that goes by the full government name Search::Elasticsearch::Serializer::JSON::XS. let's get into it π«Ά
πΈ NAME πΈ
Search::Elasticsearch::Serializer::JSON::XS β a JSON Serializer using JSON::XS. that's it, that's the whole name, iconic behavior honestly.
β¨ VERSION β¨
version 8.12 β we're on 8.12, no cap π
π SYNOPSIS π
here's how you slide it into your life:
$e = Search::Elasticsearch(
serializer => 'JSON::XS'
);
likeβ¦ that's it. one lil line and you're done. obsessed. β¨
π¦ DESCRIPTION π¦
okay so here's the tea π. the default serializer, Search::Elasticsearch::Serializer::JSON, is the "idk you pick" friend β it tries to choose the appropriate JSON backend for you.
this module? this one is the "no, I want THAT one" friend. it lets you pick the JSON::XS backend specifically. no autopicking, no surprises, just the backend you asked for. main character energy fr fr π
and just so we're clear on the family tree: this class does Search::Elasticsearch::Role::Serializer::JSON. it consumes that role, periodt.
π SEE ALSO π
go read these next, iykyk:
Search::Elasticsearch::Serializer::JSONSearch::Elasticsearch::Serializer::JSON::CpanelSearch::Elasticsearch::Serializer::JSON::PP
π AUTHOR π
Enrico Zimuel <enrico.zimuel@elastic.co> β thank you for your service π«‘π
π COPYRIGHT AND LICENSE π
This software is Copyright (c) 2024 by Elasticsearch BV.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
so yeah, it's free, it's Apache 2.0, it's giving generous π
aaaand that's the whole page, bestie! this was rendered by perl v5.38.2 on 2024-02-04 β shoutout to the toolchain, mwah ππ
go forth and serialize your JSON with the XS backend of your dreams β¨π¦πΈ
π¦ where this page comes from
- debian trixie: libsearch-elasticsearch-perl 8.12-1 Β· Apache-2.0
- ubuntu noble: libsearch-elasticsearch-perl 8.12-1 Β· Apache-2.0
- ubuntu resolute: libsearch-elasticsearch-perl 8.12-1 Β· Apache-2.0
- ubuntu stonking: libsearch-elasticsearch-perl 8.12-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms