OAuth:...r::JSON(3pm)

πŸ“¦
version 0.11 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– OAuth::Lite2::Formatter::JSON πŸ’–

okay bestie, welcome to the OAuth::Lite2::Formatter::JSON page β€” that's the 3pm manual, like, straight out of the User Contributed Perl Documentation, and it is literally the JSON formatters store for OAuth 2.0. tiny page, huge vibes, let's go ✨


🌸 NAME 🌸

OAuth::Lite2::Formatter::JSON β€” bestie. it's the OAuth 2.0 JSON formatters store. that's the whole job. that's the whole girl. πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

here's the little ritual you do, copy it exactly, no typos or the vibe check fails:

my $formatter = OAuth::Lite2::Formatter::JSON->new;
my $obj = $formatter->parse( $string );
$string = $formatter->format( $obj );

see how it goes in both directions? string in, object out, object in, string out. it's giving reversible. πŸ¦‹


🌈 DESCRIPTION 🌈

OAuth::Lite2::Formatter::JSON is, and I quote the whole entire description: the OAuth 2.0 JSON formatter. yes queen, that's it, that's the description. short and iconic. πŸ’…


✨ METHODS ✨

πŸ“ name

Accessor for the name of this format. and the name is "json". no cap. that's what it's called. 🏷️

πŸ“ type

Accessor for the content-type of this format, which is "application/json". periodt. πŸ“Ž

πŸ“ format( $json_object )

turn your object into a string, like this:

my $json_string = $formatter->format( $obj );

πŸ“ parse( $json_string )

turn your string into an object, like this:

my $obj = $formatter->parse( $json_string );

πŸ‘€ SEE ALSO πŸ‘€

go read these next, they're the friend group:

  • OAuth::Lite2::Formatter
  • OAuth::Lite2::Formatters
  • OAuth::Lite2::Formatter::XML
  • OAuth::Lite2::Formatter::FormURLEncoded

πŸ’œ AUTHOR πŸ’œ

Lyo Kato, <lyo.kato@gmail.com>. thank you for your service, legend πŸ«‘πŸ’–


Copyright (C) 2010 by Lyo Kato

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

that's the legal bit bestie, don't skip it, it's not optional and it's not a vibe, it's a license. πŸ“œ

and that's the whole page!! πŸŽ‰ this version came to you courtesy of perl v5.36.0, dated 2023-07-01 β€” so if you're reading this, the manual is serving looks from way back, and honestly? ate. πŸ’…βœ¨ mwah, go format some JSON, you got this 🫢🌸

πŸ“¦ where this page comes from