Metadata-Version: 1.1
Name: jsoncomment
Version: 0.1.4
Summary: A wrapper to JSON parsers allowing comments and multi line strings
Home-page: https://bitbucket.org/Dando_Real_ITA/json-comment
Author: Gaspare Iengo
Author-email: gaspareiengo@gmail.com
License: UNKNOWN
Description: --------------

        

        Dependencies

        ------------

        

        Python 2.7, 3.3

        

        Optional

        ~~~~~~~~

        

        ujson 1.30+

        

        --------------

        

        Description

        -----------

        

        This package allows to parse JSON files or strings with comments and

        multi line strings.

        

        --------------

        

        Comments

        ~~~~~~~~

        

        -  ``#`` and ``;`` are for single line comments

        -  ``/*`` and ``*/`` enclose multi line comments

        

        Inline comments are **not** supported

        

        --------------

        

        Multi line strings

        ~~~~~~~~~~~~~~~~~~

        

        Any string can be multi line, even object keys.

        

        -  Multi strings start and end with ``"""``, like in python

        -  The preprocessor merges all lines to a single standard string

        -  No edge space or new line is kept. To hard code new lines in the

           string, use ``\\\n``

        

        Notes

        ~~~~~

        

        JSON Comment works with any JSON parser which supports "load" and

        "loads", by adding a preprocessor to these calls.

        

        --------------

        

        Usage

        -----

        

        Install

        ~~~~~~~

        

        Download source from `Pypi <https://pypi.python.org/pypi/jsoncomment>`__

        

        python setup.py install

        

        Examples

        ~~~~~~~~

        

        Added in the examples directory

        

        --------------

        

        Contact

        -------

        

        Dando Real ITA @ `Steam

        Profile <http://steamcommunity.com/id/dandorealita>`__

        
Keywords: json comments multiline
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Topic :: Software Development :: Pre-processors
Classifier: Topic :: Text Editors :: Text Processing
