Skip to main content

Json

JSON-related operations can be used to parse JSON strings into objects and convert objects to JSON strings. Access this methods using the Json module.

parse()

Parses a JSON string and returns the object it represents.

parse(jsonString: string): Promise<any>;

stringify()

Converts a value to a JSON string.

stringify(value: any): string;