Global: tidy json result formats

This commit is contained in:
李通洲
2024-05-03 13:56:19 +08:00
parent 1011e21ba8
commit 217f98a36c
12 changed files with 51 additions and 77 deletions
+1
View File
@@ -279,6 +279,7 @@ void ffGenerateDisplayJsonResult(FF_MAYBE_UNUSED FFDisplayOptions* options, yyjs
yyjson_mut_obj_add_str(doc, module, "error", "Couldn't detect display");
return;
}
yyjson_mut_val* arr = yyjson_mut_obj_add_arr(doc, module, "result");
FF_LIST_FOR_EACH(FFDisplayResult, item, dsResult->displays)
{