logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

OAuth::Lite2::Formatter::JSON - OAuth 2.0 JSON formatters store

Author

       Lyo Kato, <lyo.kato@gmail.com>

Description

       OAuth 2.0 JSON formatter

Methods

name
       Accessor for name of this format, "json".

   type
       Accessor for content-type of this format, "application/json".

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

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

Name

       OAuth::Lite2::Formatter::JSON - OAuth 2.0 JSON formatters store

See Also

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

Synopsis

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

See Also