Reviver

typealias Reviver = (key: String, @R|kotlin/ParameterName|(name = String(value)) ERROR CLASS: Symbol not found for JsAny??) -> ERROR CLASS: Symbol not found for JsAny??(source)

Can transform the value, which was parsed for a particular object key from the JSON input.

MDN Reference

Return

the value to be set in the parsed JSON object

Parameters

key

a property name

value

a property value