- BUGS AND LIMITATIONS
- SEE ALSO
- COPYRIGHT AND LICENSE
Data::Record::Serialize::Encode::json - encoded a record as JSON
use Data::Record::Serialize; my $s = Data::Record::Serialize->new( encode => 'json', ... ); $s->send( \%record );
Data::Record::Serialize::Encode::json encodes a record as JSON.
If a field's type is
I, it will be properly encoded by JSON as a number.
The output consists of concatenated JSON objects, and is mostly easily read by an incremental decoder, e.g.
use JSON::MaybeXS; @data = JSON->new->incr_parse( $json );
It performs the Data::Record::Serialize::Role::Encode role.
There are no additional attributes which may be passed to Data::Record::Serialize->new.
You can make new bug reports, and view existing ones, through the web interface at https://rt.cpan.org/Public/Dist/Display.html?Name=Data-Record-Serialize.
Please see those modules/websites for more information related to this module.
Diab Jerius <email@example.com>
This software is Copyright (c) 2017 by Smithsonian Astrophysical Observatory.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007