├── .gitignore ├── .travis.yml ├── LICENSE.rst ├── MANIFEST.in ├── Makefile ├── README.rst ├── commentjson ├── __init__.py ├── commentjson.py └── tests │ ├── __init__.py │ ├── array_with_hash-commented.json │ ├── array_with_hash-uncommented.json │ ├── inline-commented.json │ ├── inline-uncommented.json │ ├── inline_has_special_characters-commented.json │ ├── inline_has_special_characters-uncommented.json │ ├── inline_last_float-commented.json │ ├── inline_last_float-uncommented.json │ ├── inline_last_int-commented.json │ ├── inline_last_int-uncommented.json │ ├── inline_last_quote-commented.json │ ├── inline_last_quote-uncommented.json │ ├── line_comment-commented.json │ ├── line_comment-uncommented.json │ ├── nested_object-commented.json │ ├── nested_object-uncommented.json │ ├── sample-commented.json │ ├── sample-uncommented.json │ ├── string_with_hash-commented.json │ ├── string_with_hash-uncommented.json │ ├── string_with_inline_comment-commented.json │ ├── string_with_inline_comment-uncommented.json │ ├── test_commentjson.py │ ├── test_json │ ├── __init__.py │ ├── test_decode.py │ ├── test_dump.py │ ├── test_encode_basestring_ascii.py │ ├── test_float.py │ ├── test_indent.py │ ├── test_pass1.py │ ├── test_pass2.py │ ├── test_pass3.py │ ├── test_recursion.py │ ├── test_separators.py │ └── test_unicode.py │ ├── trailing_comma-commented.json │ └── trailing_comma-uncommented.json ├── docs ├── Makefile └── source │ ├── conf.py │ └── index.rst ├── requirements.txt ├── setup.py └── tools └── bump-version.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/LICENSE.rst -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include *.rst 2 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/Makefile -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/README.rst -------------------------------------------------------------------------------- /commentjson/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/__init__.py -------------------------------------------------------------------------------- /commentjson/commentjson.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/commentjson.py -------------------------------------------------------------------------------- /commentjson/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /commentjson/tests/array_with_hash-commented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/array_with_hash-commented.json -------------------------------------------------------------------------------- /commentjson/tests/array_with_hash-uncommented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/array_with_hash-uncommented.json -------------------------------------------------------------------------------- /commentjson/tests/inline-commented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/inline-commented.json -------------------------------------------------------------------------------- /commentjson/tests/inline-uncommented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/inline-uncommented.json -------------------------------------------------------------------------------- /commentjson/tests/inline_has_special_characters-commented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/inline_has_special_characters-commented.json -------------------------------------------------------------------------------- /commentjson/tests/inline_has_special_characters-uncommented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/inline_has_special_characters-uncommented.json -------------------------------------------------------------------------------- /commentjson/tests/inline_last_float-commented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/inline_last_float-commented.json -------------------------------------------------------------------------------- /commentjson/tests/inline_last_float-uncommented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/inline_last_float-uncommented.json -------------------------------------------------------------------------------- /commentjson/tests/inline_last_int-commented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/inline_last_int-commented.json -------------------------------------------------------------------------------- /commentjson/tests/inline_last_int-uncommented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/inline_last_int-uncommented.json -------------------------------------------------------------------------------- /commentjson/tests/inline_last_quote-commented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/inline_last_quote-commented.json -------------------------------------------------------------------------------- /commentjson/tests/inline_last_quote-uncommented.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": "b" 3 | } 4 | -------------------------------------------------------------------------------- /commentjson/tests/line_comment-commented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/line_comment-commented.json -------------------------------------------------------------------------------- /commentjson/tests/line_comment-uncommented.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": 1 3 | } -------------------------------------------------------------------------------- /commentjson/tests/nested_object-commented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/nested_object-commented.json -------------------------------------------------------------------------------- /commentjson/tests/nested_object-uncommented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/nested_object-uncommented.json -------------------------------------------------------------------------------- /commentjson/tests/sample-commented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/sample-commented.json -------------------------------------------------------------------------------- /commentjson/tests/sample-uncommented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/sample-uncommented.json -------------------------------------------------------------------------------- /commentjson/tests/string_with_hash-commented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/string_with_hash-commented.json -------------------------------------------------------------------------------- /commentjson/tests/string_with_hash-uncommented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/string_with_hash-uncommented.json -------------------------------------------------------------------------------- /commentjson/tests/string_with_inline_comment-commented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/string_with_inline_comment-commented.json -------------------------------------------------------------------------------- /commentjson/tests/string_with_inline_comment-uncommented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/string_with_inline_comment-uncommented.json -------------------------------------------------------------------------------- /commentjson/tests/test_commentjson.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/test_commentjson.py -------------------------------------------------------------------------------- /commentjson/tests/test_json/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/test_json/__init__.py -------------------------------------------------------------------------------- /commentjson/tests/test_json/test_decode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/test_json/test_decode.py -------------------------------------------------------------------------------- /commentjson/tests/test_json/test_dump.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/test_json/test_dump.py -------------------------------------------------------------------------------- /commentjson/tests/test_json/test_encode_basestring_ascii.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/test_json/test_encode_basestring_ascii.py -------------------------------------------------------------------------------- /commentjson/tests/test_json/test_float.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/test_json/test_float.py -------------------------------------------------------------------------------- /commentjson/tests/test_json/test_indent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/test_json/test_indent.py -------------------------------------------------------------------------------- /commentjson/tests/test_json/test_pass1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/test_json/test_pass1.py -------------------------------------------------------------------------------- /commentjson/tests/test_json/test_pass2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/test_json/test_pass2.py -------------------------------------------------------------------------------- /commentjson/tests/test_json/test_pass3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/test_json/test_pass3.py -------------------------------------------------------------------------------- /commentjson/tests/test_json/test_recursion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/test_json/test_recursion.py -------------------------------------------------------------------------------- /commentjson/tests/test_json/test_separators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/test_json/test_separators.py -------------------------------------------------------------------------------- /commentjson/tests/test_json/test_unicode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/test_json/test_unicode.py -------------------------------------------------------------------------------- /commentjson/tests/trailing_comma-commented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/trailing_comma-commented.json -------------------------------------------------------------------------------- /commentjson/tests/trailing_comma-uncommented.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/commentjson/tests/trailing_comma-uncommented.json -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | lark-parser<0.8.0,>=0.7.1 2 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/setup.py -------------------------------------------------------------------------------- /tools/bump-version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vaidik/commentjson/HEAD/tools/bump-version.py --------------------------------------------------------------------------------