updateStyleImportWithJSON

Updates an existing import in the style. The function replaces the content of the import, with the content loaded from the provided data value. The configuration values of the import are merged with the configuration provided in the update.

Return

A string describing an error if the operation was not successful, or empty otherwise.

Parameters

importId

Identifier of import to update.

json

The JSON string to be loaded directly as the import.

config

A map containing the configuration options of the import.