# Function: convertModelDrivenMapping()
convertModelDrivenMapping(
modelMapping
):object
Defined in: packages/core/src/transformers/ModelDrivenJsonMapping.ts:63
Convert a model-driven JSON mapping to the traditional JsonMapping format. This enables backward compatibility with existing PostgresJsonQueryBuilder.
Parameters
modelMapping
Returns
object
jsonMapping
jsonMapping:
JsonMapping
typeProtection
typeProtection:
TypeProtectionConfig