perl-JSON-WithComments - Parse JSON content with embedded comments

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-JSON-WithComments
Package version 0.003
Package release alt1
Package architecture noarch
Package type rpm
Installed size 30.40 KB
Download size 30.40 KB
Official Mirror
NOTE: This is an early release, and should be considered alpha-quality. The
interface is subject to change in future versions.
JSON::WithComments is a simple wrapper around the JSON module that
pre-processes any JSON input before decoding it. The pre-processing is simple:
based on the style of comments that the object is configured for, it strips all
comments of that style it finds, before passing the remaining content to the
decode method of the parent class.
The motivation for this was simple: with JSON becoming more and more popular
as a configuration format, some tools have started adding as-hoc support for
comments into their JSON parsers. This allows documentation to be a part of
these (sometimes quite large) JSON files. This module slightly extends the
concept by allowing you to opt for different styles of comments.
The JSON module itself allows for shell-style (Perl-style) comments via
use of the relaxed method. IF YOU ONLY NEED PERL-STYLE COMMENTS, you can
get that from JSON directly. The advantage that this module offers is the
flexibility of also recognizing JavaScript-style comments.


Package Version Architecture Repository
perl-JSON-WithComments - - -


Name Value
/usr/share/perl5 -
perl( >= 2.940
perl( -
rpmlib(PayloadIsLzma) -


Name Value
perl(JSON/ = 0.003
perl-JSON-WithComments = 0.003-alt1


Type URL
Binary Package perl-JSON-WithComments-0.003-alt1.noarch.rpm
Source Package perl-JSON-WithComments-0.003-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-JSON-WithComments rpm package:
    # sudo apt-get install perl-JSON-WithComments



See Also

Package Description
perl-JSON-XS-VersionOneAndTwo-0.31-alt1.noarch.rpm perl module JSON-XS-VersionOneAndTwo
perl-JSON-ize-0.104-alt1.noarch.rpm Use JSON easily in one-liners
perl-JSON5-0.01-alt1.noarch.rpm The JSON5 implementation for Perl 5
perl-JSONAPI-Document-2.4-alt1.noarch.rpm Turn DBIx results into JSON API documents
perl-JSONP-1.92-alt1.noarch.rpm a module to build JavaScript Object Notation with Padding web services
perl-JSONRPC-Transport-TCP-0.04-alt1.noarch.rpm Client component for TCP JSONRPC
perl-JSONY-0.1.18-alt1.noarch.rpm Relaxed JSON with a little bit of YAML
perl-JSON_File-0.004-alt1.noarch.rpm Tie a hash or an array to a JSON
perl-JSORB-0.04-alt1.noarch.rpm Javascript Object Request Broker
perl-JSTAPd-0.03-alt1.noarch.rpm testing framework to test Ajax/Javascript libraries
perl-JSTAPd-scripts-0.03-alt1.noarch.rpm JSTAPd scripts
perl-JSV-0.08-alt1.noarch.rpm A perl implementation of JSON Schema (draft-04) validator
perl-JSV-Compilator-0.01-alt1.noarch.rpm Translates JSON-Schema validation rules (draft-06) into perl code
perl-JSV-Compiler-0.06-alt1.noarch.rpm Translates JSON-Schema validation rules (draft-06) into perl code
perl-JSYNC-0.25-alt1.noarch.rpm JSon Yaml eNCoding