frozen icon indicating copy to clipboard operation
frozen copied to clipboard

JSON parser and generator for C/C++ with scanf/printf like interface. Targeting embedded systems.

Results 30 frozen issues
Sort by recently updated
recently updated
newest added

json_sprinter reallocates destination buffer by one character every time it's called. It'd be nice to reduce the number of reallocations

Hello, cessanta hosts two JSON libraries: https://github.com/cesanta/mjson/ (~1.0 kLoC) https://github.com/cesanta/frozen/ (~1.5 kLoC) Both seem to be tiny. Is there any reccomendation on which library to use for specific use cases?...

``` $ cppcheck --force . Checking frozen.c ... frozen.c:866:49: error: Pointer addition with NULL pointer. [nullPointerArithmetic] char *send = (char *) src + slen, *dend = dst + dlen, *orig_dst...

Hello, frozen license had been changed to Apache License 2. Do you have plan to do a release under Apache License 2 in short term? Thank you very much.

You recently switched to Apache commons 2.0 license for frozen. Can you create a 1.6-APL release under Apache commons 2.0 license as a fork from Tag 1.6? Or is there...

```` char *payload = "{\"a\":1}"; struct json_out out = JSON_OUT_BUF(output, output_len); json_setf(input, input_len, &out, ".sign", "%Q", "5738263BEFF11EC874D99623AC22A3B1"); ```` output: ```` {"a":1,"sign":"5738263BEFF11EC874D99623AC22A3B1"} ```` Works grate ```` char *payload = "{\"service\":\"service.parking.detail\",\"a\":1}"; struct...

char json[50] = "{}"; char json_out[50]; struct json_out out = JSON_OUT_BUF(json_out, sizeof(json_out)); json_setf(json, sizeof(json), &out, ".somekey", "true"); only writes the value into json_out and thus creates an invalid json printf("%s\n",...

Hello, i am trying to iterate over array of structs. There are 3 elements and i can iterate over it in `for() { printf() }` loops, but i can't get...

I'm trying to parse a json string looks like this ```json { "a": { "a": 1 }, "b": { "b": 2 } } ``` The code I used follows ```c...

Hello, i've found that unlike original scanf(), the json_scanf() does not support "scanset" feature. Eg.: `json_scanf(in, sizeof(in), "{ str:%30[0-9a-zA-Z ] }", out);` should scan string of up to 30 characers...