JsonConfig: refactor string buffer JSON handling for robustness

This commit is contained in:
李通洲
2025-08-02 17:41:19 +08:00
parent 6d86813647
commit 3cef51ec4a
21 changed files with 90 additions and 64 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ void ffParseSeparatorJsonObject(FFSeparatorOptions* options, yyjson_val* module)
if (ffStrEqualsIgnCase(key, "string"))
{
ffStrbufSetS(&options->string, yyjson_get_str(val));
ffStrbufSetJsonVal(&options->string, val);
continue;
}