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