mapResponse

abstract fun mapResponse(mappingRules: String, originalResponse: OriginalResponse): MappedResponse

Maps the original response to a mapped response.

Return

The mapped response.

Parameters

mappingRules

The mapping rules.

originalResponse

The original response.

Throws

If an error occurs during the mapping.