- Jun 03, 2016
-
-
Petri Lehtinen authored
-
- May 30, 2016
-
-
Petri Lehtinen authored
-
- May 17, 2016
-
-
Petri Lehtinen authored
Patch by Blanca Elio Rosario.
-
- May 03, 2016
-
-
Petri Lehtinen authored
Don't crash on deeply nested values by limiting parser recursion depth
-
Dmitry Janushkevich authored
The fix limits recursion depths when parsing arrays and objects. The limit is configurable via the `JSON_PARSER_MAX_DEPTH` setting within `jansson_config.h` and is set by default to 2048. Update the RFC conformance document to note the limit; the RFC allows limits to be set by the implementation so nothing has actually changed w.r.t. conformance state. Reported by Gustavo Grieco.
-
- Apr 28, 2016
-
-
Petri Lehtinen authored
-
- Mar 03, 2016
-
-
Petri Lehtinen authored
Fix proto in doc
-
- Mar 02, 2016
-
-
Maxim Zhukov authored
-
- Feb 25, 2016
-
-
Petri Lehtinen authored
-
Petri Lehtinen authored
-
Petri Lehtinen authored
Implemented json_pack() format specifiers 's?', 'o?', and 'O?'.
-
- Feb 24, 2016
-
-
David Harvey-Macaulay authored
-
David Harvey-Macaulay authored
-
- Feb 23, 2016
-
-
David Harvey-Macaulay authored
-
- Feb 11, 2016
-
-
Petri Lehtinen authored
Fix libdir is wrong path when compile with cmake
-
Petri Lehtinen authored
Optimized functions
-
- Feb 10, 2016
-
-
Thanabodee Charoenpiriyakij authored
because JANSSON_INSTALL_LIB_DIR is set to /usr/local/lib after foreach loop
-
- Feb 03, 2016
-
-
Maxim Zhukov authored
Optimized json_equal, json_delete, json_copy, json_deep_copy Replaced if to switch Removed unnecessary check for NULL.
-
- Dec 23, 2015
-
-
Petri Lehtinen authored
-
Petri Lehtinen authored
-
Petri Lehtinen authored
It's shown in the front page of readthedocs/latest.
-
Petri Lehtinen authored
-
Petri Lehtinen authored
pack_unpack: List first unrecognized key in strict unpacking
-
W. Trevor King authored
Otherwise figuring out what's wrong with your JSON can be tricky, especially if you're using a single fmt string to validate a large, complicated schema. The comma delimiting will make separating keys that contain commas difficult. For example: {"foo, bar": true, "baz": false} will generate errors like: 2 object item(s) left unpacked: foo, bar, baz but that seems like a small enough corner case to not be worth much worrying. I wanted to find a way to handle this without have_unrecognized_keys, but the strbuffer tooling makes it look like I shouldn't be reaching in to do things like: strbuffer_t unrecognized_keys; unrecognized_keys.value = NULL; and then using 'unrecognized_keys.value == NULL' in place of have_unrecognized_keys.
-
- Dec 22, 2015
-
-
Petri Lehtinen authored
-
Petri Lehtinen authored
Add json_get_alloc_funcs() to allow alloc function fetching
-
Nathaniel McCallum authored
This is particularly useful in modular situations where the allocation functions are either unknown or private. For instance, in such cases, the caller of json_dumps() has no way to free the returned buffer.
-
- Oct 20, 2015
-
-
Petri Lehtinen authored
Fixes #258
-
- Oct 14, 2015
-
-
Petri Lehtinen authored
changed code from while to do/while
-
- Oct 12, 2015
-
-
Denis Ahrens authored
-
- Oct 05, 2015
-
-
Petri Lehtinen authored
Improve usage of snprintf in dump.c
-
Jonas Jonsson authored
Be more explicit that a cast is happening.
-
Jonas Jonsson authored
Be more future proof by keeping the number of magic constants low.
-
- Sep 09, 2015
-
-
Petri Lehtinen authored
Update test_memory_funcs.c
-
- Sep 02, 2015
-
-
Petri Lehtinen authored
Buildable with MS Compiler version >= 1900
-
- Sep 01, 2015
-
-
OlehKulykov authored
-
- Aug 26, 2015
-
-
Petri Lehtinen authored
Fixes #230.
-
- Aug 13, 2015
-
-
Kinam Kim authored
-
- May 19, 2015
-
-
Petri Lehtinen authored
-
Petri Lehtinen authored
Fixes #237.
-