JSON
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any
Value members
Concrete methods
Converts a JavaScript Object Notation (JSON) string into an object.
Converts a JavaScript Object Notation (JSON) string into an object.
- Value Params
- 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.
- text
A valid JSON string.
Converts a JavaScript value to a JavaScript Object Notation (JSON) string.
Converts a JavaScript value to a JavaScript Object Notation (JSON) string.
- Value Params
- replacer
A function that transforms the results.
- space
Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.
- value
A JavaScript value, usually an object or array, to be converted.