parse

external fun <T : ERROR CLASS: Symbol not found for JsAny??> parse(text: String, reviver: Reviver = definedExternally): T(source)

Converts a JavaScript Object Notation (JSON) string into an object.

MDN Reference

Parameters

text

A valid JSON string.

reviver

A function that transforms the results. This function is called for each member of the object. If a member contains nested objects, the nested objects are transformed before the parent object is.