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

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

πŸ’– 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::JSON
  • Search::Elasticsearch::Serializer::JSON::Cpanel
  • Search::Elasticsearch::Serializer::JSON::PP

πŸ‘‘ AUTHOR πŸ‘‘

Enrico Zimuel <enrico.zimuel@elastic.co> β€” thank you for your service πŸ«‘πŸ’–


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