Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
swiz
Swiz
Class Swiz
Index
Constructor methods
constructor
Methods
buildObject
buildObjectSync
deserialize
deserializeXml
getFieldDefinition
serialize
serializeForPagination
serializeJson
serializeXml
Constructor methods
constructor
(
defs
:
IObj
[]
, options
?:
ISwizOptions
)
:
Swiz
Parameters
defs:
IObj
[]
options?:
ISwizOptions
optional
Returns
Swiz
Methods
public
buildObject
(
obj
:
any
, callback
:
(err: any, result: any) => void
)
Parameters
obj:
any
callback:
(err: any, result: any) => void
public
buildObjectSync
(
obj
:
any
)
:
any
Parameters
obj:
any
Returns
any
public
deserialize
(
mode
:
SERIALIZATION
, version
:
number
, raw
:
string
, callback
:
(err: any, result: any) => void
)
Parameters
mode:
SERIALIZATION
version:
number
raw:
string
callback:
(err: any, result: any) => void
public
deserializeXml
(
xml
:
string
)
:
any
Parameters
xml:
string
Returns
any
public
getFieldDefinition
(
stype
:
string
, name
:
string
)
:
IField
Parameters
stype:
string
name:
string
Returns
IField
public
serialize
(
mode
:
SERIALIZATION
, version
:
number
, obj
:
ISerializable
, callback
:
(err: any, result: string) => void
)
Parameters
mode:
SERIALIZATION
version:
number
obj:
ISerializable
callback:
(err: any, result: string) => void
public
serializeForPagination
(
mode
:
SERIALIZATION
, array
:
Array<any>
, metadata
:
any
, callback
:
(err: any, result: string) => void
)
Parameters
mode:
SERIALIZATION
array:
Array<any>
metadata:
any
callback:
(err: any, result: string) => void
public
serializeJson
(
obj
:
any
)
:
string
Parameters
obj:
any
Returns
string
public
serializeXml
(
obj
:
any
)
:
string
Parameters
obj:
any
Returns
string
Globals
swiz
swiz.struct
SERIALIZATION
IChain
ICheckOptions
ISerializable
ISwizOptions
IValidator
IValveSchema
IValveSchemaMember
IValveSchemaMemberArray
Cidr
Swiz
constructor
buildObject
buildObjectSync
deserialize
deserializeXml
getFieldDefinition
serialize
serializeForPagination
serializeJson
serializeXml
Valve
Chain
chain
defToValve
stripSerializerTypes