Sisima...t::JSON(3pm)

πŸ“¦
version 5.7.0 Β· 4 versions
, in ubuntu stonking

πŸ’– 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 (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