Skip to content

mcandre/kirill

Repository files navigation

kirill: JSON validator

CloudFlare R2 install media downloadsDocker Pulls Crates.io Downloads (recent) GitHub Downloads docs.rs Test license

ABOUT

kirill scans projects large and small for JSON correctness:

  • Check for basic JSON(5) syntactical validity
  • Identify JSON(5) files recursively in large project directories
  • Verify compliance with a JSON Schema

EXAMPLES

$ cd examples

$ kirill .
error: fruit-missing-end-brace.json: EOF while parsing an object at line 3 column 0
error: fruit-trailing-comma.json: trailing comma at line 3 column 1
error: fruit-unquoted-key.json: key must be a string at line 2 column 5
error: fruit-with-comment.json: expected value at line 1 column 1
error: settings.json: expected value at line 1 column 1

$ kirill --schema species.json zoo
error: zoo/bad-bear.json: Missing required property 'species'

$ kirill books.json5
error: books.json5: expected value at line 9 column 9

$ kirill --json5 books.json5
$

See kirill -h for more options.

DOWNLOAD

OS Package
Alpine Linux 3.23+ Intel ARM
Fedora 43+ Intel ARM
FreeBSD 13 Intel
macOS 26 Tahoe+ Intel ARM
NetBSD 10.1 Intel
Ubuntu 24.04 Noble+ Intel ARM
Windows 11+ Intel ARM

SYSTEM REQUIREMENTS

Bitness

64

For more host platforms and installation methods, see our install guide.

RESOURCES

Prior art, personal plugs, and tools for managing data.

  • jq - styles and transforms JSON documents
  • mcandre/linters - a collection of file analyzers

About

JSON validator

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors