JSONParser
Type class
Parses a JSON string into data.
More info: Data: parsing
Sources
JSONParser can be used (imported) via one of the following packages.
// Import JSONParserimport * as am5 from "@amcharts/amcharts5";
// Create JSONParseram5.JSONParser.new(root, { // ... config if applicable});<!-- Load JSONParser --><script src="index.js"></script>
<script>// Create JSONParseram5.JSONParser.new(root, { // ... config if applicable});</script>Inheritance
JSONParser does not extend any other symbol.
JSONParser is not extended by any other symbol.
Properties
JSONParser does not have any properties.
Methods
parse(input:string,
options?:IJSONParserOptions)StaticReturns
anyParses a JSON string. An array or object is returned as it is, and invalid JSON gives
undefined.
Events
JSONParser does not have any events.