MarpaX::ESLIF::ECMA404 - JSON Data Interchange Format following ECMA-404 specification
version 0.003
use MarpaX::ESLIF::ECMA404; my $ecma404 = MarpaX::ESLIF::ECMA404->new(); my $input = '["JSON",{},[]]'; my $json = $ecma404->decode($input);
This module decodes strict JSON input using MarpaX::ESLIF.
Instantiate a new object. Takes as parameter an optional hash of options that can be:
An optional logger object instance that must do methods compliant with Log::Any interface.
Parses JSON that is in $input and returns a perl variable containing the corresponding structured representation, or undef in case of failure.
$input
undef
MarpaX::ESLIF, Log::Any
Jean-Damien Durand <jeandamiendurand@free.fr>
This software is copyright (c) 2017 by Jean-Damien Durand.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install MarpaX::ESLIF::ECMA404, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MarpaX::ESLIF::ECMA404
CPAN shell
perl -MCPAN -e shell install MarpaX::ESLIF::ECMA404
For more information on module installation, please visit the detailed CPAN module installation guide.