Data::...::JSON(3pm)

NAME πŸ¦‹

Data::Session::Serialize::JSON β€” a persistent session manager, bestie πŸ’–


✨ Synopsis ✨

okay so literally just... go read Data::Session for the deets, that's the vibe 🌸


πŸ’œ Description πŸ’œ

Data::Session::Serialize::JSON is the little module that lets Data::Session do its session-managing thing, except with JSON. That's it, that's the whole personality ✨

To actually use this module, here's what you do:

  • Specify a driver of type JSON as Data::Session -> new(type => '...serialize:JSON')

no cap, that's the move πŸ’…


πŸŽ€ Case-sensitive Options πŸŽ€

go look at "Case-sensitive Options" in Data::Session for the important info, bestie β€” it's giving crucial 🫢


πŸ‘‘ Method: new() πŸ‘‘

Creates a brand new object of type Data::Session::Serialize::JSON. new object, who dis πŸ’–

new() takes a hash of key/value pairs, and ngl, some of them might be mandatory. Also, some combinations might be mandatory. so like, read carefully, okay? πŸ™ˆ

The keys are listed here in alphabetical order (so organized, so main character ✨).

They're lower-case because they are (also) method names β€” meaning you can call them to set or get the value at literally any time you want 🧚

  • verbose => $integer β€” prints more or less info to STDERR. typical values are 0, 1 and 2. this key is normally passed in as Data::Session -> new(verbose => $integer). this key is optional πŸ¦‹

🌸 Method: freeze($data) 🌸

Returns $data frozen by JSON. ice cold ❄️ periodt.


🌈 Method: thaw($data) 🌈

Returns $data thawed by JSON. un-iced, warmed up, ready to go πŸ”₯


πŸ’€ Support πŸ’€

found a bug? log it on RT, bestie:

https://rt.cpan.org/Public/Dist/Display.html?Name=Data-Session


🌟 Author 🌟

Data::Session was written by Ron Savage <ron@savage.net.au> in 2010. iconic behavior, honestly πŸ‘‘

Home page: http://savage.net.au/index.html


Australian copyright (c) 2010, Ron Savage.

All Programs of mine are 'OSI Certified Open Source Software';
you can redistribute them and/or modify them under the terms of
The Artistic License, a copy of which is available at:
http://www.opensource.org/licenses/index.html

okay that's the whole page bestie, you ate that πŸ’…βœ¨

this was perl v5.36.0, dated 2023-02-14, and it's the Data::...::JSON page β€” mwah, love u, go serialize something πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from