libobs: Save obs_data json in compact form
This commit is contained in:
parent
7e9aea71d9
commit
0dc1e01b5b
@ -736,7 +736,7 @@ const char *obs_data_get_json(obs_data_t *data)
|
||||
data->json = NULL;
|
||||
|
||||
json_t *root = obs_data_to_json(data);
|
||||
data->json = json_dumps(root, JSON_PRESERVE_ORDER | JSON_INDENT(4));
|
||||
data->json = json_dumps(root, JSON_PRESERVE_ORDER | JSON_COMPACT);
|
||||
json_decref(root);
|
||||
|
||||
return data->json;
|
||||
|
Loading…
x
Reference in New Issue
Block a user