Json

Type module

Sources

Items from Json can be imported/included and used via following ways.

/**
 * --------------------------------------------------------
 * Import via: Json.ts
 * Access items like: $json.myVariable
 *                    $json.myFunction()
 * --------------------------------------------------------
 */
import * as $json from "@amcharts/amcharts5/Type";

Variables

Json does not have any variables.

Functions

constructEntity(

root: Root,
parsed: IParsedEntity

)

#

Returns void

getClass(

name: string

)

#

Returns Promise

isObject(

value: any

)

#

Returns value

Checks if parameter is object.

lookupRef(

refs: Array,
name: string

)

#

Returns any

mergeEntity(

entity: E,
parsed: IParsedEntity

)

#

Returns void

parseArray(

root: Root,
value: Array,
refs: Array

)

#

Returns Promise

parseProperties(

root: Root,
object: object,
refs: Array

)

#

Returns Promise

parseRefs(

root: Root,
object: object,
refs: Array

)

#

Returns Promise

parseSettings(

root: Root,
object: object,
refs: Array

)

#

Returns Promise

parseType(

root: Root,
value: unknown,
refs: Array

)

#

Returns Promise

parseValue(

root: Root,
value: any,
refs: Array

)

#

Returns Promise