Acme-CPANModules-JSONVariants

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

    2024-05-10.

DESCRIPTION
    JSON is hugely popular, yet very simple. This has led to various
    extensions or variants of JSON.

    An overwhelmingly popular extension is comments, because JSON is used a
    lot in configuration. Another popular extension is dangling (trailing)
    comma.

    This list catalogs the various JSON variants which have a Perl
    implementation on CPAN.

    1) JSON5. <https://json5.org/>, "JSON for Humans". Allowing more
    whitespaces, single-line comment (C++-style), multiline comment
    (C-style), single quote for strings, hexadecimal number literal (e.g.
    0x123abc), leading decimal point, trailing decimal point, positive sign
    in number, trailing commas.

    Perl modules: JSON5, File::Serialize::Serializer::JSON5.

lib/Acme/CPANModules/JSONVariants.pm  view on Meta::CPAN

our $DIST = 'Acme-CPANModules-JSONVariants'; # DIST
our $VERSION = '0.002'; # VERSION

my $text = <<'MARKDOWN';
JSON is hugely popular, yet very simple. This has led to various extensions or
variants of JSON.

An overwhelmingly popular extension is comments, because JSON is used a lot in
configuration. Another popular extension is dangling (trailing) comma.

This list catalogs the various JSON variants which have a Perl implementation on
CPAN.


1) **JSON5**. <https://json5.org/>, "JSON for Humans". Allowing more
whitespaces, single-line comment (C++-style), multiline comment (C-style),
single quote for strings, hexadecimal number literal (e.g. 0x123abc), leading
decimal point, trailing decimal point, positive sign in number, trailing commas.

Perl modules: <pm:JSON5>, <pm:File::Serialize::Serializer::JSON5>.

lib/Acme/CPANModules/JSONVariants.pm  view on Meta::CPAN

This document describes version 0.002 of Acme::CPANModules::JSONVariants (from Perl distribution Acme-CPANModules-JSONVariants), released on 2024-05-10.

=head1 DESCRIPTION

JSON is hugely popular, yet very simple. This has led to various extensions or
variants of JSON.

An overwhelmingly popular extension is comments, because JSON is used a lot in
configuration. Another popular extension is dangling (trailing) comma.

This list catalogs the various JSON variants which have a Perl implementation on
CPAN.

1) B<JSON5>. L<https://json5.org/>, "JSON for Humans". Allowing more
whitespaces, single-line comment (C++-style), multiline comment (C-style),
single quote for strings, hexadecimal number literal (e.g. 0x123abc), leading
decimal point, trailing decimal point, positive sign in number, trailing commas.

Perl modules: L<JSON5>, L<File::Serialize::Serializer::JSON5>.

2) B<HJSON>. L<https://hjson.org>, Human JSON. A JSON variant that aims to be



( run in 0.237 second using v1.01-cache-2.11-cpan-4d50c553e7e )