Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
JSONFormatter
Class JSONFormatter
Index
Constructor methods
constructor
Methods
get
getText
onError
set
setText
Constructor methods
constructor
(
container
:
HTMLElement
, options
?:
JSONFormatterOptions
, json
?:
any
)
:
JSONFormatter
Parameters
container:
HTMLElement
options?:
JSONFormatterOptions
optional
json?:
any
optional
Returns
JSONFormatter
Methods
public
get
(
)
:
Object
Returns
Object
public
getText
(
)
:
string
Returns
string
public
onError
(
err
:
string
)
Parameters
err:
string
public
set
(
json
:
Object
)
:
any
Parameters
json:
Object
Returns
any
public
setText
(
jsonString
:
string
)
Parameters
jsonString:
string
Globals