libfastjson icon indicating copy to clipboard operation
libfastjson copied to clipboard

a fast json library for C

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

This liblognorm PR https://github.com/rsyslog/liblognorm/pull/305 depends on this commit. ``` commit b17a78c960adceb2472aa33b76a7add0fc54ed66 Merge: 4758b1c e32df78 Author: Rainer Gerhards Date: Fri Jun 22 12:18:06 2018 +0200 Merge pull request #155 from nhosoi/json_object_array_del_idx...

Sorry,I can not find the api to release a json_object, and "fjson_object_object_delete" is not called by external. Any other api can be helped?

Hello. Are there any documents or tutorials on how to use the library to parse JSON objects? I have Debian Buster installed but I can't find any tutorials on libfastjson4....

Found a problem when using the same object in different objects ``` fjson_object *m = fjson_object_new_object(); fjson_object *i = fjson_object_new_int(1); fjson_object *a = fjson_object_new_object(); fjson_object_object_add(a, "i", i); fjson_object *b =...

currently (inherited from json-c), the null object is implemented differently from any other objects. It's not a struct json_object (ptr), but rather C `NULL`. This is inconsistent, and causes some...

Hello! I use libfastjson in Sagan to create & parse json strings. One feature that I notced json-c has that libfastjson does not it the JSON_C_TO_STRING_NOSLASHESCAPE option. For example: **json_object_to_json_string_ext(my_string,...

In printbuf.c, sprintbuf() this piece of code might not compile or work as expected everywhere: ``` va_start(ap, msg); if((size = vasprintf(&t, msg, ap)) < 0) { va_end(ap); return -1; }...

It seems like there's no `#define` mapping `json_tokener_get_error` to `fjson_tokener_get_error` in `json_tokener.h`. Seems like a simple enough fix unless I'm missing something, although it does seem like it would take...

see https://github.com/rsyslog/rsyslog/issues/1822 Libfastjson API permits to access sublevel elements inside a tree, but will fail upon free of upper level elements if sub-level have been removed. This has been inherited...

PR https://github.com/json-c/json-c/pull/290 exists for json-c. Approach is interesting, but performance-hungry. We should consider if we need this API and, if so, if we need better performance (aka other implementation).

enhancement