diff --git a/lib/commands/smapi/cli-customization-processor.js b/lib/commands/smapi/cli-customization-processor.js index ac6f638c..f949a477 100644 --- a/lib/commands/smapi/cli-customization-processor.js +++ b/lib/commands/smapi/cli-customization-processor.js @@ -82,7 +82,7 @@ class CliCustomizationProcessor { } _addCustomizedParameter(customizationMetadata, customizedParameter) { - const isArray = customizedParameter.type === 'array'; + const isArray = customizedParameter.type === 'array' && !customizedParameter.json; // the array of object is treated as json type const isNumber = ['number', 'integer'].includes(customizedParameter.type); const isBoolean = customizedParameter.type === 'boolean'; const flags = { isArray, isNumber, isBoolean };