KiokuD...nverter(3pm)

πŸ“¦
version 0.57 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing

πŸ’– KiokuD...nverter(3pm) πŸ’–

okay bestie, pull up a chair, we're talking about KiokuDB::Backend::Serialize::JSPON::Converter β€” the Perl module that lives at KiokuD...nverter(3pm) in your man pages (yes the name is giving "truncated by man and we're all just vibing with it", we love her anyway 🫢).


✨ NAME ✨

KiokuDB::Backend::Serialize::JSPON::Converter β€” the shared, common functionality for JSPON expansion and collapsing. It's the glue, the shared lore, the group chat both siblings are in. 🌸


πŸŽ€ VERSION πŸŽ€

version 0.57


πŸ¦‹ SYNOPSIS πŸ¦‹

    # internal

that's it. that's the synopsis. it's internal, babe, it's not for you to call directly, it's for the modules to love and support each other πŸ’…


🌈 DESCRIPTION 🌈

so these attributes? they're shared. like, both of these get them:

  • KiokuDB::Backend::Serialize::JSPON::Converter
  • KiokuDB::Backend::Serialize::JSPON::Expander

no cap, they're a matched set. πŸ‘‘

and plot twist β€” these attributes are also available in KiokuDB::Backend::Serialize::JSPON, and from there they get passed straight into the constructors of the expander and the collapser. so the whole fam is on the same page. iconic behaviour honestly.


πŸ‘‘ ATTRIBUTES πŸ‘‘

okay so these are the field name mappings for the KiokuDB::Entry attributes. let's go:

  • id_field
  • class_field
  • class_meta_field
  • root_field
  • deleted_field
  • tied_field
  • data_field
  • ref_field

β€” all of these are the various field name mappings for the KiokuDB::Entry attributes. ✨

now listen, the defaults: everything defaults to the attribute name. easy. except:

  • "class" and "class_meta" β€” these default to __CLASS__ and __META__, and the reason is compatibility with MooseX::Storage when inline_data is set. iykyk 🧚
  • ref_field β€” this one is set to $ref, per the JSPON spec. periodt.
  • inline_data β€” this lil cutie determines whether or not the entry data keys are escaped, and whether the data is stored in the same top level mapping, or tucked inside the data_field key instead. that's the whole vibe check right there. πŸ“

πŸ’œ AUTHOR πŸ’œ

Yuval Kogman <nothingmuch@woobling.org> β€” actual legend, respect the name πŸ’–


This software is copyright (c) 2014 by Yuval Kogman, Infinity Interactive.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


and that's the whole page, bestie, you ate it πŸ’…βœ¨ β€” this was KiokuD...nverter(3pm) from the perl v5.34.0 toolchain, dated 2022-05-23, part of the User Contributed Perl Documentation. go forth and collapse/expand responsibly πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from