Attean...RQLJSON(3pm)

🌸 NAME 🌸

AtteanX::Parser::SPARQLJSON β€” the SPARQL JSON Parser, bestie πŸ’…

This page lives in the User Contributed Perl Documentation section, in case you were wondering where the manual name went β€” it's up here now, living its best life 🫢


⭐ VERSION ⭐

This doc describes AtteanX::Parser::SPARQLJSON version 0.035. Yes, the whole entire page is about that one version, no cap ✨


πŸŽ€ SYNOPSIS πŸŽ€

okay so here's the vibe check β€” this is literally all you need to get going:

use Attean;
my $parser = Attean->get_parser('SPARQLJSON')->new();
$parser->parse_list_from_io( $fh );

Grab the parser, call new(), point it at your filehandle. Slay πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

...

and honestly? that's it. that is the description. the docs said ... and i respect the minimalism era πŸ™ˆ (if you want the real tea, the sections below have your back)


πŸ’œ ATTRIBUTES πŸ’œ

Three of them, sitting there with main character energy:

  • canonical_media_type β€” the media type it reps as its one true form πŸ‘‘
  • media_types β€” the whole roster of media types it claims πŸŽ€
  • file_extensions β€” the file extensions it's down for 🌈

🌸 METHODS 🌸

Three methods, listed here exactly as the page gives them, because i am not about to make stuff up:

  • parse_list_from_io( $fh ) β€” takes a filehandle, $fh, and does the parse-list thing πŸ”₯
  • parse_list_from_bytes( $bytes ) β€” same energy but from $bytes in memory, no filehandle needed ✨
  • decode_node( \%value ) β€” hands it a hashref, \%value, and it decodes the node πŸ’…

πŸ’€ BUGS πŸ’€

Found a bug? Have a feature request with your whole chest? Please report it through the GitHub web interface at:

<https://github.com/kasei/perlrdf/issues>

the maintainers will literally thank you for it 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Gregory Todd Williams <gwilliams@cpan.org> β€” icon, legend, the moment ⭐


Copyright (c) 2014--2022 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


quick reminder bestie: that "same terms as Perl itself" line is doing real legal work, so keep it cute and keep it intact 🧚

and that's the whole page! footer tea for the record: this was put together with perl v5.40.0, dated 2025-01-26, under the Attean...RQLJSON(3pm) header β€” but you already knew that πŸ’–πŸ“ go forth and parse those SPARQL JSON files, iykyk ✨

πŸ“¦ where this page comes from