A python library to parse JSON with js-style comments
30.08 KB
built 2026-10-17 10:34:04 GMT
Description
jstyleson is a python library to parse JSON with js-style comments.
Trailing comma is also supported.
JSON by standard does not allow comments and trailing comma, and the
python standard json module does not offer options to parse such informal
JSON.
jstyleson try to make it happy with your js-style commented JSON, by first
removing all elements inside (comments and trailing comma), then hand it
to the standard json module.
jstyleson supports parsing JSON with:
- single-line comment
- multi-line comment
- inline comment
- trailing comma
Dependencies
11 totalRequires10
- pyproject-rpm-macros
- python3-devel
- python3-devel
- python3dist(packaging)
- python3dist(pip) >= 19
- python3dist(pytest)
- python3dist(setuptools) >= 40.8
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(DynamicBuildRequires) <= 4.15.0-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides1
- python3-jstyleson = 0.0.2^20200323.8c47cc9-9.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| jstyleson-8c47cc9.tar.gz | 4.13 KB |
| python-jstyleson.spec | 3.38 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
