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.
jsmn.h
✓ #include <jsmn.h>
Parse a JSON string using jsmn
#include "jsmn.h"
#include <stdio.h>
int main() {
const char *json = "{\"key\":\"value\"}";
jsmn_parser parser;
jsmntok_t tokens[10];
jsmn_init(&parser);
int count = jsmn_parse(&parser, json, strlen(json), tokens, 10);
printf("Parsed %d tokens\n", count);
return 0;
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
2019-04-27latest on vcpkg
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.