responseJsonPreview

abstract fun responseJsonPreview(mappingRules: String, originalResponseBody: String): String

Generates a preview of the JSON mapped response.

Return

The JSON preview.

Parameters

mappingRules

The mapping rules.

originalResponseBody

The original response.

Throws

If an error occurs during the mapping.