The json module

The json module provides functions for encoding and decoding JSON data.

Free functions

parse(s: string): any

Parse a JSON string and return the corresponding value.

stringify(value: any): string

Convert a value to a JSON string.