Displaying 6 results from an estimated 6 matches for "json_loadb".
Did you mean:
json_loads
2023 Nov 04
1
Spotlight issues
So I have two issues.
1) Using Samba 4.19.2 with spotlight and elasticsearch 8.10.3 doesn?t work.
Errors:
[2023/10/22 09:04:17, 0] ../../source3/rpc_server/mdssvc/mdssvc_es.c:755(mds_es_search_http_read_done) mds_es_search_http_read_done: json_loadb failed
2) Using Samba 4.19.2 with spotlight and elasticsearch 7.17.10 works.
There is a bug where when the samba server is running and files are being indexed while samba is running finder will return results correctly in the quick search bar when searched with individual files listed.
However,...
2023 Nov 06
1
Spotlight issues
...ler Salwierz via samba:
> So I have two issues.
>
> 1) Using Samba 4.19.2 with spotlight and elasticsearch 8.10.3 doesn?t work.
>
> Errors:
>
> [2023/10/22 09:04:17, 0] ../../source3/rpc_server/mdssvc/mdssvc_es.c:755(mds_es_search_http_read_done) mds_es_search_http_read_done: json_loadb failed
>
> 2) Using Samba 4.19.2 with spotlight and elasticsearch 7.17.10 works.
>
> There is a bug where when the samba server is running and files are being indexed while samba is running finder will return results correctly in the quick search bar when searched with individual files...
2018 Feb 12
0
[PATCH v2 1/1] Switch from YAJL to Jansson
...rndup (g, input, len);
-
- debug (g, "%s: qemu-img info JSON output:\n%s\n", __func__, input_copy);
+ debug (g, "%s: qemu-img info JSON output:\n%.*s\n", __func__, (int) len, input);
- *tree_ret = yajl_tree_parse (input_copy, parse_error, sizeof parse_error);
+ *tree_ret = json_loadb (input, len, 0, &err);
if (*tree_ret == NULL) {
- if (strlen (parse_error) > 0)
- error (g, _("qemu-img info: JSON parse error: %s"), parse_error);
+ if (strlen (err.text) > 0)
+ error (g, _("qemu-img info: JSON parse error: %s"), err.text);
els...
2017 Nov 23
0
[PATCH 1/1] Switch from YAJL to Jansson
...rndup (g, input, len);
-
- debug (g, "%s: qemu-img info JSON output:\n%s\n", __func__, input_copy);
+ debug (g, "%s: qemu-img info JSON output:\n%.*s\n", __func__, (int) len, input);
- *tree_ret = yajl_tree_parse (input_copy, parse_error, sizeof parse_error);
+ *tree_ret = json_loadb (input, len, 0, &err);
if (*tree_ret == NULL) {
- if (strlen (parse_error) > 0)
- error (g, _("qemu-img info: JSON parse error: %s"), parse_error);
+ if (strlen (err.text) > 0)
+ error (g, _("qemu-img info: JSON parse error: %s"), err.text);
els...
2018 Feb 12
2
[PATCH v2 0/1] RFC: switch from YAJL to Jansson
Hi,
recently, there was a discussion in the development list of libvirt on
switching to a different JSON library than YAJL [1]. Since we use YAJL,
and the points there IMHO apply to libguestfs as well, I decided to give
a try in switching to Jansson [2].
The result IMHO is nice, with the additional APIs of Jansson that
simplify some of our code. Unlike with YAJL, I did not set a minimum
2017 Nov 23
4
[PATCH 0/1] RFC: switch from YAJL to Jansson
Hi,
recently, there was a discussion in the development list of libvirt on
switching to a different JSON library than YAJL [1]. Since we use YAJL,
and the points there IMHO apply to libguestfs as well, I decided to give
a try in switching to Jansson [2].
The result IMHO is nice, with the additional APIs of Jansson that
simplify some of our code. Unlike with YAJL, I did not set a minimum