Paul Johnson > Devel-Cover-0.97 > Devel::Cover::DB::IO::JSON

Download:
Devel-Cover-0.97.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  8
Open  19
Stalled  2
View/Report Bugs
Module Version: 0.97   Source   Latest Release: Devel-Cover-1.17

NAME ^

Devel::Cover::DB::IO::JSON - JSON based IO routines for Devel::Cover::DB

VERSION ^

version 0.97

SYNOPSIS ^

 use Devel::Cover::DB::IO::JSON;

 my $io = Devel::Cover::DB::IO::JSON->new;
 my $data = $io->read($file);
 $io->write($data, $file);

DESCRIPTION ^

This module provides JSON based IO routines for Devel::Cover::DB.

SEE ALSO ^

 Devel::Cover

METHODS ^

new

 my $io = Devel::Cover::DB::IO::JSON->new;

Contructs the IO object.

read

 my $data = $io->read($file);

Returns a perl data structure representingthe data read from $file.

write

 $io->write($data, $file);

Writes $data to $file in the format specified when creating $io.

BUGS ^

Huh?

LICENCE ^

Copyright 2011-2012, Paul Johnson (paul@pjcj.net)

This software is free. It is licensed under the same terms as Perl itself.

The latest version of this software should be available from my homepage: http://www.pjcj.net

syntax highlighting: