Search...SON::PP(3pm)

πŸ“¦
version 8.12 Β· 5 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 either JSON::XS or Cpanel::JSON::XS as they are much much faster than JSON::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::JSON
  • Search::Elasticsearch::Serializer::JSON::XS
  • Search::Elasticsearch::Serializer::JSON::Cpanel

πŸ‘‘ AUTHOR πŸ‘‘

Enrico Zimuel <enrico.zimuel@elastic.co>

put some respect on the name. 🫑


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