Radikant-JSON-C

Device Screen

Radikant-JSON-C is a simple, lightweight, and dependency-free JSON parser written in C.
It’s designed to be easy to integrate into C projects that need to handle JSON data without the overhead of larger libraries.

FileEditViewProject
Radikant — json_parser_test.c
int main() {
rjson_value* parsed_json = rjson_parse(sample_json);
rjson_print(parsed_json, 0);
printf("\n\n");
 
rjson_value* name_val = rjson_object_get_value(parsed_json, "name");
if (name_val && name_val->type == RJSON_STRING) {
printf("Library Name: %s\n", name_val->as.str_val);
}
 
rjson_value* version_val = rjson_object_get_value(parsed_json, "version");
if (version_val && version_val->type == RJSON_NUMBER) {
printf("Version: %.1f\n", version_val->as.num_val);
}
 
// Clean up all allocated memory
rjson_free(parsed_json);
return 0;
}
"name": "Radikant-JSON-C", "version": 1.0, "is_beta": false, "author": null, "features": [ "Parsing", "Tree structure", "Memory management" ], "details": { "language": "C", "lines_of_code": 300 }