JSONParser

Type class

Tool to parse JSON string into structured data.

Click here for more info

Sources

JSONParser can be used (imported) via one of the following packages.

// JSONParser is available in all of the following modules.
// You only need to import one of them.

/**
 * --------------------------------------------------------
 * Import from: "index.ts"
 * Use like: am5.JSONParser
 * --------------------------------------------------------
 */
import * as am5 from "@amcharts/amcharts5";

// JSONParser is available in all of the following modules.
// You only need to import one of them.

/**
 * --------------------------------------------------------
 * Include via: <script src="index.js"></script>
 * Access items like: am5.JSONParser
 * --------------------------------------------------------
 */

Inheritance

JSONParser does not extend any other symbol.

JSONParser is not extended by any other symbol.

Settings

JSONParser does not have any settings.

Private settings

JSONParser does not have any private settings.

Properties

JSONParser does not have any properties.

Methods

parse(

input: string,
options?: IJSONParserOptions

)

#

Static

Returns any

Parses JSON string.

Events

JSONParser does not have any events.