Test2::Harness::Util::File::JSON(3pm)

Test2::Harness::Util::File::JSON3pm

Utility class for a json file.

Usage

    require Test2::Harness::Util::File::JSON;
    my $file = Test2::Harness::Util::File::JSON->new(name => '/path/to/file.json');
    $hash = $file->read;
    # or
    $$file->write({...});

Overview

Subclass of Test2::Harness::Util::File which automatically handles encoding/decoding JSON data.

Source

The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/.

Maintainers

Chad Granum <[email protected]>

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Authors

Chad Granum <[email protected]>

From libtest2-harness-perl 1.000158-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.