Search...SON::PP(3pm)
π Search::Elasticsearch::Serializer::JSON::PP π
okay so bestie, this is the manual page for Search::Elasticsearch::Serializer::JSON::PP β which lives in the 3pm section of your friendly neighbourhood Perl docs. it's a JSON serializer, and it's here to let you pick the JSON::PP backend on purpose. yes, on purpose. we'll get to that. π«Ά
β¨ VERSION β¨
version 8.12 β that's the one, no cap. π
πΈ SYNOPSIS πΈ
look at her. so simple. so clean.
$e = Search::Elasticsearch(
serializer => 'JSON::PP'
);
that's literally it. one little serializer key and boom, you're running the JSON::PP backend. iconic behaviour tbh. π
π¦ DESCRIPTION π¦
okay so here's the tea. β
the default serializer, Search::Elasticsearch::Serializer::JSON, is the chill one β it tries to choose the appropriate JSON backend for you, all on its own, like a responsible adult.
this module? this one does not do that. this module lets you choose the JSON::PP backend specifically. deliberately. on purpose. you're the one making the call here. main character energy. π
NOTE: You should really install and use eitherJSON::XSorCpanel::JSON::XSas they are much much faster thanJSON::PP.
like... bestie... i'm not gonna sugarcoat it. JSON::PP is the slow one. it's the vibe when you want pure-Perl and nothing else, and that's valid, but if you want speed? JSON::XS or Cpanel::JSON::XS. much much faster. the manpage says it, i said it, we all said it. π₯
also, this class does Search::Elasticsearch::Role::Serializer::JSON. it consumes that role, that's its whole thing. π
π SEE ALSO π
go read these too, they're the whole friend group:
Search::Elasticsearch::Serializer::JSONSearch::Elasticsearch::Serializer::JSON::XSSearch::Elasticsearch::Serializer::JSON::Cpanel
π AUTHOR π
Enrico Zimuel <enrico.zimuel@elastic.co>
put some respect on the name. π«‘
π 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
slay, and also legally binding. π
and that's the whole page, bestie!! π this was Search::Elasticsearch::Serializer::JSON::PP, built for perl v5.38.2, and this version of the docs is dated 2024-02-04. go forth and serialize responsibly. 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