Registry / serialization / jsmn
library2019-04-27vcpkgunverified

A minimalistic JSON parser in C.

vcpkg install jsmn
INSTALL
IMPORT
SIG · JSMN
J
jsmn
serializationcppv2019-04-27
harness data pending
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.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

jsmn — pip install jsmn · libregistry