Skip to content

Commit a20d915

Browse files
committed
JsonConfig: supports --structure-disabled
1 parent d3453de commit a20d915

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/common/impl/jsonconfig.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,9 @@ static const char* printJsonConfig(FFdata* data, bool prepare)
299299
else
300300
return "modules must be an array of strings or objects";
301301

302+
if (ffStrbufSeparatedContainIgnCaseS(&data->structureDisabled, type, ':'))
303+
continue;
304+
302305
if(prepare)
303306
prepareModuleJsonObject(type, module);
304307
else

0 commit comments

Comments
 (0)