All Projects → p-ranav → jsonlint

p-ranav / jsonlint

Licence: MIT License
Lightweight command-line tool for validating JSON

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to jsonlint

Structopt
Parse command line arguments by defining a struct
Stars: ✭ 323 (+1096.3%)
Mutual labels:  lightweight, mit-license
cgol
Conway's Game of Life in the Terminal
Stars: ✭ 32 (+18.52%)
Mutual labels:  lightweight, mit-license
Indicators
Activity Indicators for Modern C++
Stars: ✭ 1,838 (+6707.41%)
Mutual labels:  lightweight, mit-license
ngx-translate-lint
Simple CLI tools for check `ngx-translate` keys
Stars: ✭ 25 (-7.41%)
Mutual labels:  checker, validator
denetmen
useful micro check library for Crystal Language.
Stars: ✭ 23 (-14.81%)
Mutual labels:  checker, validator
Grunt Html
Grunt plugin for html validation
Stars: ✭ 165 (+511.11%)
Mutual labels:  checker, validator
garn-validator
Create validations with ease
Stars: ✭ 42 (+55.56%)
Mutual labels:  checker, validator
A11yc
Check accessibility of target page and generate accessibility evaluate page and policy.
Stars: ✭ 13 (-51.85%)
Mutual labels:  checker, validator
docker-alpine-wkhtmltopdf
wkhtmltopdf alpine docker container with headless qt patches
Stars: ✭ 150 (+455.56%)
Mutual labels:  lightweight, mit-license
codeowners-validator
The GitHub CODEOWNERS file validator
Stars: ✭ 142 (+425.93%)
Mutual labels:  checker, validator
lexer
Hackable Lexer with UTF-8 support
Stars: ✭ 19 (-29.63%)
Mutual labels:  lightweight, mit-license
python-valid8
Yet another validation lib ;). Provides tools for general-purpose variable validation, function inputs/outputs validation as well as class fields validation. All entry points raise consistent ValidationError including all contextual details, with dynamic inheritance of ValueError/TypeError as appropriate.
Stars: ✭ 24 (-11.11%)
Mutual labels:  checker, validator
envy
envy: Deserialize environment variables into type-safe structs
Stars: ✭ 64 (+137.04%)
Mutual labels:  lightweight, mit-license
psched
Priority-based Task Scheduling for Modern C++
Stars: ✭ 59 (+118.52%)
Mutual labels:  lightweight, mit-license
matterless
Self-hosted serverless
Stars: ✭ 23 (-14.81%)
Mutual labels:  lightweight
DuiMini
Cross-platform, lightweight DirectUI GUI framework.
Stars: ✭ 13 (-51.85%)
Mutual labels:  lightweight
proxy-checker
The simple script, which checks good and bad proxies
Stars: ✭ 42 (+55.56%)
Mutual labels:  checker
bulldog
The http checker
Stars: ✭ 13 (-51.85%)
Mutual labels:  checker
brisk-ioc
fast light brisk ioc/di container on nodejs; Node下快速 轻量的IoC/DI容器,依赖注入,配合装饰器使用
Stars: ✭ 12 (-55.56%)
Mutual labels:  lightweight
pickledb-rs
PickleDB-rs is a lightweight and simple key-value store. It is a Rust version for Python's PickleDB
Stars: ✭ 116 (+329.63%)
Mutual labels:  lightweight

jsonlint

jsonlint is a lightweight command-line tool for validating JSON.

Building jsonlint

$ git clone https://github.com/p-ranav/jsonlint.git
$ cd jsonlint
$ mkdir build && cd build
$ cmake .. && make && make check

Usage

$ ./jsonlint --help
Usage: jsonlint [options] file 

Positional arguments:
file      	json file to validate

Optional arguments:
-h --help 	show this help message and exit

Example Scenarios

Unterminated String

unterminated string

Trailing comma in array

trailing comma

Duplicate key in object

duplicate key

Typo in keyword

typo in keyword

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].