Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
IX2JS
Interface IX2JS
Index
Construct signatures
constructor
Methods
asArray
asDateTime
asXmlDateTime
getVersion
json2xml
json2xml_str
parseXmlString
xml2json
xml_str2json
Construct signatures
constructor
(
config
?:
IX2JSOption
)
:
IX2JS
Parameters
config?:
IX2JSOption
optional
Returns
IX2JS
Methods
public
asArray
(
prop
:
any
)
:
Array<any>
Parameters
prop:
any
Returns
Array<any>
public
asDateTime
(
key
:
string
)
:
string
Parameters
key:
string
Returns
string
public
asXmlDateTime
(
date
:
Date
)
:
string
Parameters
date:
Date
Returns
string
public
asXmlDateTime
(
date
:
number
)
:
string
Parameters
date:
number
Returns
string
public
getVersion
(
)
:
string
Returns
string
public
json2xml
(
json
:
T
)
:
Node
Parameters
json:
T
Returns
Node
public
json2xml_str
(
json
:
T
)
:
string
Parameters
json:
T
Returns
string
public
parseXmlString
(
xml
:
string
)
:
Node
Parameters
xml:
string
Returns
Node
public
xml2json
(
dom
:
Node
)
:
T
Parameters
dom:
Node
Returns
T
public
xml_str2json
(
xml
:
string
)
:
T
Parameters
xml:
string
Returns
T
Globals