{"id":20051876,"url":"https://github.com/p-ranav/jsonlint","last_synced_at":"2025-05-05T11:31:57.758Z","repository":{"id":49759122,"uuid":"221553901","full_name":"p-ranav/jsonlint","owner":"p-ranav","description":"Lightweight command-line tool for validating JSON","archived":false,"fork":false,"pushed_at":"2020-02-19T10:29:40.000Z","size":386,"stargazers_count":34,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-08T22:23:19.068Z","etag":null,"topics":["checker","cpp","json","jsonlint","lightweight","mit-license","validator"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/p-ranav.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-13T21:21:15.000Z","updated_at":"2025-03-23T15:54:04.000Z","dependencies_parsed_at":"2022-09-10T12:51:47.999Z","dependency_job_id":null,"html_url":"https://github.com/p-ranav/jsonlint","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p-ranav%2Fjsonlint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p-ranav%2Fjsonlint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p-ranav%2Fjsonlint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p-ranav%2Fjsonlint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/p-ranav","download_url":"https://codeload.github.com/p-ranav/jsonlint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252489091,"owners_count":21756262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["checker","cpp","json","jsonlint","lightweight","mit-license","validator"],"created_at":"2024-11-13T12:07:28.090Z","updated_at":"2025-05-05T11:31:57.272Z","avatar_url":"https://github.com/p-ranav.png","language":"C++","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg height=\"100\" src=\"img/logo.png\" alt=\"jsonlint\"/\u003e\n\u003c/p\u003e\n\n`jsonlint` is a lightweight command-line tool for validating JSON.\n\n## Building `jsonlint`\n\n```bash\n$ git clone https://github.com/p-ranav/jsonlint.git\n$ cd jsonlint\n$ mkdir build \u0026\u0026 cd build\n$ cmake .. \u0026\u0026 make \u0026\u0026 make check\n```\n\n## Usage\n\n```bash\n$ ./jsonlint --help\nUsage: jsonlint [options] file \n\nPositional arguments:\nfile      \tjson file to validate\n\nOptional arguments:\n-h --help \tshow this help message and exit\n```\n\n## Example Scenarios\n\n### Unterminated String\n\n\u003cimg src=\"img/01.png\" alt=\"unterminated string\"/\u003e\n\n### Trailing comma in array\n\n\u003cimg src=\"img/02.png\" alt=\"trailing comma\"/\u003e\n\n### Duplicate key in object\n\n\u003cimg src=\"img/03.png\" alt=\"duplicate key\"/\u003e\n\n### Typo in keyword\n\n\u003cimg src=\"img/04.png\" alt=\"typo in keyword\"/\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp-ranav%2Fjsonlint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fp-ranav%2Fjsonlint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp-ranav%2Fjsonlint/lists"}