1Devel::Cover::DB::IO::JUSsOeNr(3C)ontributed Perl DocumeDnetvaetli:o:nCover::DB::IO::JSON(3)
2
3
4
6 Devel::Cover::DB::IO::JSON - JSON based IO routines for
7 Devel::Cover::DB
8
10 version 1.33
11
13 use Devel::Cover::DB::IO::JSON;
14
15 my $io = Devel::Cover::DB::IO::JSON->new;
16 my $data = $io->read($file);
17 $io->write($data, $file);
18
20 This module provides JSON based IO routines for Devel::Cover::DB.
21
23 Devel::Cover JSON::MaybeXS
24
26 new
27 my $io = Devel::Cover::DB::IO::JSON->new;
28
29 Constructs the IO object.
30
31 read
32 my $data = $io->read($file);
33
34 Returns a perl data structure representing the data read from $file.
35
36 write
37 $io->write($data, $file);
38
39 Writes $data to $file in the format specified when creating $io.
40
42 Huh?
43
45 Copyright 2011-2019, Paul Johnson (paul@pjcj.net)
46
47 This software is free. It is licensed under the same terms as Perl
48 itself.
49
50 The latest version of this software should be available from my
51 homepage: http://www.pjcj.net
52
53
54
55perl v5.30.1 2020-01-29 Devel::Cover::DB::IO::JSON(3)