Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
yyjson.h
✓ #include <yyjson.h>
Parse a JSON string and access a value
#include <yyjson.h>
#include <stdio.h>
int main() {
const char *json = "{\"key\":\"value\"}";
yyjson_doc *doc = yyjson_read(json, strlen(json), 0);
yyjson_val *val = yyjson_doc_get_root(doc);
printf("%s\n", yyjson_obj_get_str(val, "key"));
yyjson_doc_free(doc);
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.