Sisima...t::JSON(3pm)
π Sisimai::Fact::JSON β the manual, but make it group chat
okay so bestie, this is Sisimai::Fact::JSON, living in the User Contributed Perl Documentation, section 3pm. The page itself gets truncated in the header as Sisima...t::JSON(3pm) because terminals are dramatic and love to cut things off mid-word, but you and me? We know her full name. π
β¨ NAME β¨
Sisimai::Fact::JSON β dumps decoded data object as a JSON format π
β¨ SYNOPSIS β¨
so the whole vibe is literally three things: load the parent, rise the fact, dump the json. boom. slay.
use Sisimai::Fact;
my $fact = Sisimai::Fact->rise('data' => 'entire email text');
for my $e ( @$fact ) {
print $e->dump('json');
}
β¨ DESCRIPTION β¨
Sisimai::Fact::JSON takes a decoded data object and dumps it out as a JSON format. pretty icon β¨
and listen β this one's important, no cap: this class and its method are meant to be called only from the parent object Sisimai::Fact. Like, she doesn't take walk-ins. She's booked. π«Ά
β¨ CLASS METHODS β¨
πΈ dump(Sisimai::Fact) πΈ
the dump() method hands you back a Sisimai::Fact object as a JSON formatted string. that's it. that's the whole job, and she does it flawlessly π
my $mail = Sisimai::Mail->new('/var/mail/root');
while( my $r = $mail->read ) {
my $fact = Sisimai::Fact->rise('data' => 'entire email text');
for my $e ( @$fact ) {
print $e->dump('json');
}
}
β¨ AUTHOR β¨
azumakuniyuki β the icon, the moment, the legend π
β¨ COPYRIGHT β¨
Copyright (C) 2014-2016,2018,2020,2021,2024,2025 azumakuniyuki, All rights reserved.
β¨ LICENSE β¨
This software is distributed under The BSD 2-Clause License.
and that's the whole page, bestie! π¦ this one's running on perl v5.40.1, dated 2026-07-05 β so yeah, she's current, she's maintained, she's thriving. go dump some JSON, you got this ππΈ
π¦ where this page comes from
- ubuntu stonking: libsisimai-perl 5.7.0-1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms