The primary goal of this library is to provide a set of functions for quickly cherry-picking elements from large raw JSON documents, without additiona

GitHub - tidwall/json.c: A fast little JSON library for C

submited by
Style Pass
2023-03-14 21:30:03

The primary goal of this library is to provide a set of functions for quickly cherry-picking elements from large raw JSON documents, without additional allocations.

If you happen to know the length of the string ahead of time then it'll likely be more efficient to provide it using one of the following.

For now, the syntax is limited to very basic key names containing only alphanumeric characters, underscores, and dashes. If you need to access keys that have a broader range of characters you can use the json_object_get and json_array_get functions.

Leave a Comment