Skip to Content
  • Website
Codsen
  • Home
  • Open Source
  • Articles
  • About

prevOpen Source→json-combnext

json-comb0.11.1

Command line app to manage sets of JSON files

Downloads per monthChangelogMIT Licenselibera manifesto
  • the top
  • Installation
  • USE IT
  • API — FLAGS
  • NORMALISE
  • Changelog

Installation

Use it

Once installed, call jsoncomb in the terminal with list of a file or folder paths, using globs, for example:

$ jsoncomb --normalise "index.json"
$ jsoncomb -n "data/**/index.json" -i "data/defaults.json"
$ jsoncomb -n "**/*.json" -t

$ jsoncomb -v
$ jsoncomb --version
$ jsoncomb -h
$ jsoncomb --help

API — flags

shortlongdescription
-n
-n--normaliseNormalise all files in the given set
-i
-i--ignoreIgnore paths if they contain only placeholder values
-t
-t--tabsUse tabs instead of default 2 spaces for JSON indentation
-v
-v--versionShows the installed version of your json-sort-cli
-h
-h--helpShows (similar to this) help

Normalise

$ jsoncomb --normalise "index.json"
$ jsoncomb -n "data/**/index.json" -i "data/defaults.json"

Normalise process means any missing keys are added, as per extracted schema, so that you would be able to see all available keys in your JSON file, without having to look into documentation etc.

Changelog

Open Changelog
↑ back to top
prev next

Copyright

All rights reserved © Roy Revelt 2026
All our open source packages are under MIT licenceopens in a new tab

Activities

🐛 See a bug? Raise an issueopens in a new tab
💘 Check out the Indiewebopens in a new tab and Libera manifestoopens in a new tab