{"id":23643670,"url":"https://github.com/aichingm/libcj","last_synced_at":"2026-05-01T17:35:49.557Z","repository":{"id":269966912,"uuid":"908989411","full_name":"aichingm/libcj","owner":"aichingm","description":"Libcj is a simple header only json stringify and parsing library written in c.","archived":false,"fork":false,"pushed_at":"2024-12-27T13:26:59.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-19T15:11:55.147Z","etag":null,"topics":["c","json","parser"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aichingm.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-27T13:23:28.000Z","updated_at":"2024-12-27T13:27:02.000Z","dependencies_parsed_at":"2024-12-27T14:32:05.373Z","dependency_job_id":"5df987b5-5f10-442b-af12-3042e10da860","html_url":"https://github.com/aichingm/libcj","commit_stats":null,"previous_names":["aichingm/libcj"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aichingm/libcj","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aichingm%2Flibcj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aichingm%2Flibcj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aichingm%2Flibcj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aichingm%2Flibcj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aichingm","download_url":"https://codeload.github.com/aichingm/libcj/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aichingm%2Flibcj/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32507091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["c","json","parser"],"created_at":"2024-12-28T11:33:36.620Z","updated_at":"2026-05-01T17:35:49.518Z","avatar_url":"https://github.com/aichingm.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Libcj\n\nLibcj is a simple header only json stringify and parsing library written in c, released under the [AGPL-3.0-only](https://spdx.org/licenses/AGPL-3.0-only.html).\n\n[cj.h](./cj.h)\n\n## Usage\n\nImportant notice\n\nThe general usage is to include the implementation in you \"main.c\" file\n```c\n#define IMPL_CJ\n#include \"cj.h\"\n```\nand include only the header in other files like\n```\n#include \"cj.h\"\n```\n\nExamles are provided in the [examples directory](./examples).\n\n* [Parsing json into a struct](./examples/parse_object.c)\n* [Decoding JSON](./examples/decode.c)\n* [Encoding JSON](./examples/encoder.c)\n\nFor more inspiration checkout the tests in [tests](./tests).\n\n## License\n\n```\nCopyright (C) 2024 Mario Aichinger \u003caichingm@gmail.com\u003e\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faichingm%2Flibcj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faichingm%2Flibcj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faichingm%2Flibcj/lists"}