Search...:Cpanel(3pm)
π NAME π
Search::Elasticsearch::Serializer::JSON::Cpanel β a JSON serializer that uses Cpanel::JSON::XS, bestie. That's it, that's the whole job, and she does it flawlessly.
(also hi, this page lives in the User Contributed Perl Documentation section, and honestly? iconic of it.)
β¨ VERSION β¨
version 8.12 π
πΈ SYNOPSIS πΈ
okay so you just... tell it to use this serializer. that's the whole vibe:
$e = Search::Elasticsearch(
serializer => 'JSON::Cpanel'
);
like. look at her. effortless. π
π¦ DESCRIPTION π¦
so here's the tea, bestie β β
the default serializer, Search::Elasticsearch::Serializer::JSON, is the chill one that tries to choose the appropriate JSON backend for you. it's flexible, it's a people pleaser, it's giving "whatever works for the group."
this module? this module does NOT do that. this module lets you pick the Cpanel::JSON::XS backend specifically. no debate, no vibes-based auto-detection, no "let me see who's available." you said Cpanel::JSON::XS, so it's Cpanel::JSON::XS. periodt. π
she's committed like that.
fr fr though β this class does Search::Elasticsearch::Role::Serializer::JSON. that's the whole personality. π«Ά
π SEE ALSO π
Search::Elasticsearch::Serializer::JSONβ the default one, the flexible one, the one that chooses for youSearch::Elasticsearch::Serializer::JSON::XSβ theJSON::XSgirliesSearch::Elasticsearch::Serializer::JSON::PPβ the pure-PerlJSON::PPrepresentation
go read them, they're all slay in their own way π
π AUTHOR π
Enrico Zimuel <enrico.zimuel@elastic.co> β ty for your service king π«‘β¨
π 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
like, actually free free. go wild. responsibly. π
and that's the page, bestie!! written for perl v5.38.2, dated 2024-02-04 β tysm for reading, mwah ππβ¨
π¦ 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