Group
Extension

Matches 1

XML-RSS-JavaScript ( B/BR/BRICAS/XML-RSS-JavaScript-0.64.tar.gz, BRICAS, 2012; MetaCPAN )
XML-RSS-JavaScript/lib/XML/RSS/JavaScript.pm ( view source; MetaCPAN )
head2 save_json( )

Pass in the path to a file you wish to write your javascript in. Optionally
you can pass in any options that would normally get passed to C<as_json>.

=cut

sub save_json {
    my 
 $self, $file, @options ) = @_;
    $self->_save( 'as_json', $file, @options );
}

=head2 as_json( )

as_json will return a string containing json suitable for 
generating text for your RSS object. Yo
the name of the JSON object (default: RSSJSON).

=cut

sub as_json {
    my ( $self, $max, $object_name ) = @_;
    my $items = scalar @{ $self->{ items } };
    $object_name = 'RSSJSON' unless define

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.