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
JSONasData::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 toSTDERR. typical values are0,1and2. this key is normally passed in asData::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
π Copyright π
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
- debian trixie: libdata-session-perl 1.18-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdata-session-perl 1.18-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdata-session-perl 1.18-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdata-session-perl 1.18-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms