Skip to main content

json-lint

A fast Rust JSON linter and fixer, inspired by json-linter. It is distributed as a prebuilt binary on PyPI, the same way as ruff.

pip install fast-json-lint
json-lint my-file.json some-dir/

For every file (or every *.json file in a given directory) it:

  • sorts object keys recursively in natural order (a2 before a10)
  • rewrites the file with 2-space indentation and a trailing newline
  • reports files that are not valid JSON and leaves them unchanged

It exits with status 1 if any file fails.

Metadata

Release files for fast-json-lint 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fast-json-lint 0.1.0
File Size Uploaded
fast_json_lint-0.1.0.tar.gz 6.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for fast-json-lint 0.1.0
File
fast_json_lint-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
fast_json_lint-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
fast_json_lint-0.1.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
fast_json_lint-0.1.0-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details

Total release size: 867.4 kB

Release files / fast_json_lint-0.1.0.tar.gz

Download URL fast_json_lint-0.1.0.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d1fd4ea3ff26ab211ef0e21a1cda7f678e5773b81cc7abdc8adbd13c37b7d6e5
BLAKE2b-256 checksum
How to use checksums
cd28f8334060624040c9472a7b266d8573851519c7ab15ed05ca89e90f0e2cd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / fast_json_lint-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL fast_json_lint-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 224.1 kB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
306240a69640165ef81bb94cec996d5580e759f82d4d9bdc4f0072d4ec2eadd9
BLAKE2b-256 checksum
How to use checksums
00ba9643512df456f0f12e84e8c887742b48f7dc1cb8a6ed1bb5a6656c6fca5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / fast_json_lint-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL fast_json_lint-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 211.8 kB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
535526c3f2eb34ee171ed07a8bc2fe0ace08b35aca20454d943aa115faa9c2f2
BLAKE2b-256 checksum
How to use checksums
6667c44880df93eccc1c4e6e71cd0a191c7d16d06fd1edd64de6f361ccceb14c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / fast_json_lint-0.1.0-py3-none-macosx_11_0_arm64.whl

Download URL fast_json_lint-0.1.0-py3-none-macosx_11_0_arm64.whl
Size 205.0 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
48a1f3a9ddc859e125682b51efe58648968fea1bbe8c11996e04c3355634c6b5
BLAKE2b-256 checksum
How to use checksums
7d65e751838fce01c4b0fa7c936d88a62b356cfe0592b65a6b34d4a859ea4d25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / fast_json_lint-0.1.0-py3-none-macosx_10_12_x86_64.whl

Download URL fast_json_lint-0.1.0-py3-none-macosx_10_12_x86_64.whl
Size 219.8 kB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
7068da3aa8b3d95caf57dee629e49fc3a408470478fd4af7ecf6eab17471999d
BLAKE2b-256 checksum
How to use checksums
a98fbb2bce02a76da0b708ea60eea061b8ad694a9253f6435fc9d282df08fd86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

0.1.2

5 release files

This release

0.1.0 This release

5 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page