jsmn icon indicating copy to clipboard operation
jsmn copied to clipboard

Jsmn is a world fastest JSON parser/tokenizer. This is the official repo replacing the old one at Bitbucket

Results 103 jsmn issues
Sort by recently updated
recently updated
newest added

Adds a fuzzer that tests `jsmn_parse()`. I recommend running the fuzzer in the CI with [ClusterfuzzLite](https://google.github.io/clusterfuzzlite/). Since jsmn does not have any Github workflows, I didn't add that part, but...

The following test fails in strict mode: ```c check(parse("{\"a\": \"a\" \"b\":\"b\"}", JSMN_ERROR_INVAL, 5)); ``` Surely this should result in `JSMN_ERROR_INVAL`?

This enables the jsmn API to be exported when building a shared DLL for Windows

Hi, To ensure that the project is platform independent, I added three cmake files to it. Here are the standard steps to build the project: - create a specific directory...

This PR does a number of things, but the main points are: * it is fully RFC-8259 compliant * enables strict mode by default and adds a permissive mode *...

JSMN has been initializing tokens with default values, then initializing them again with the real values. The first step can be skipped to make JSMN smaller and faster.

Please check the benchmark at [https://github.com/lemire/simdjson](simdjson)

### This PR brings strict mode in compliance with RFC 8259 (as well as some other changes): - Various invalid inputs that were accepted before are now correctly rejected (Fixes...

Hello, past few days I'm testing JSMN with stream data and NULL token parameter. Simple example static const char *JSON_STRING = "{\"user\": \"johndoe\", \"admin\": false}"; uint8_t bigarray[500]; int i=0; int...

Hello, after having re-written JSMN state parser multiple times in C code I got frustrated and started to look at something that could simplify the state tracking needed for iterating...