NAME
ETL::Yertl::Format::json - JSON read/write support for Yertl
VERSION
version 0.032
SYNOPSIS
ATTRIBUTES
input
The filehandle to read from for input.
format_module
The module being used for this format. Possible modules, in order of importance:
METHODS
write( DOCUMENTS )
Convert the given DOCUMENTS
to JSON. Returns a JSON string.
read()
Read a JSON string from input and return all the documents
decode
my $msg = $fmt->decode( $bytes );
Decode the given bytes into the given message. The bytes must contain exactly one message to be decoded.
AUTHOR
Doug Bell <preaction@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.