The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Name

File::DataClass::Storage::JSON - Read/write JSON data storage model

Version

0.13.$Revision: 416 $

Synopsis

   use Moose;

   extends qw(File::DataClass::Schema);

   has '+storage_class' => default => q(JSON);

Description

Uses JSON to read and write JSON files

Subroutines/Methods

_read_file

Calls "decode" in JSON to parse the input

_write_file

Calls "encode" in JSON to generate the output

Diagnostics

None

Configuration and Environment

None

Dependencies

File::DataClass::Storage
JSON::PP

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Using the module JSON::XS causes the round trip test to fail

Author

Peter Flanigan, <Support at RoxSoft.co.uk>

License and Copyright

Copyright (c) 2010 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE