JSON

The 'json' module provides functionality parse and serialize JSON strings

Function Signatures

// Parse a JSON string and return the resulting object.
const parse = (jsonStr: String) => Object

// Serialize an object into a JSON string.
const serialize = (jsonObj: Object) => String

Last updated