Search
Preparing search index...
The search index is not available
Kryo
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"writers/structured"
StructuredWriter
Class StructuredWriter
Base class for
json
,
qs
and
bson
writers.
Hierarchy
StructuredWriter
JsonValueWriter
BsonValueWriter
QsValueWriter
Implements
Writer
<
any
>
Index
Methods
write
Any
write
Boolean
write
Bytes
write
Date
write
Document
write
Float64
write
List
write
Map
write
Null
write
String
Methods
write
Any
write
Any
(
value
:
any
)
:
any
Parameters
value:
any
Returns
any
Abstract
write
Boolean
write
Boolean
(
value
:
boolean
)
:
any
Parameters
value:
boolean
Returns
any
Abstract
write
Bytes
write
Bytes
(
value
:
Uint8Array
)
:
any
Parameters
value:
Uint8Array
Returns
any
Abstract
write
Date
write
Date
(
value
:
Date
)
:
any
Parameters
value:
Date
Returns
any
write
Document
write
Document<K>
(
keys
:
Iterable
<
K
>
, handler
:
function
)
:
Record
<
K
,
any
>
Type parameters
K
:
string
Parameters
keys:
Iterable
<
K
>
handler:
function
(
key
:
K
, fieldWriter
:
Writer
<
any
>
)
:
any
Parameters
key:
K
fieldWriter:
Writer
<
any
>
Returns
any
Returns
Record
<
K
,
any
>
Abstract
write
Float64
write
Float64
(
value
:
number
)
:
any
Parameters
value:
number
Returns
any
write
List
write
List
(
size
:
number
, handler
:
function
)
:
any
[]
Parameters
size:
number
handler:
function
(
index
:
number
, itemWriter
:
Writer
<
any
>
)
:
any
Parameters
index:
number
itemWriter:
Writer
<
any
>
Returns
any
Returns
any
[]
Abstract
write
Map
write
Map
(
size
:
number
, keyHandler
:
function
, valueHandler
:
function
)
:
any
Parameters
size:
number
keyHandler:
function
<KW>
(
index
:
number
, mapKeyWriter
:
Writer
<
KW
>
)
:
KW
Type parameters
KW
Parameters
index:
number
mapKeyWriter:
Writer
<
KW
>
Returns
KW
valueHandler:
function
<VW>
(
index
:
number
, mapValueWriter
:
Writer
<
VW
>
)
:
VW
Type parameters
VW
Parameters
index:
number
mapValueWriter:
Writer
<
VW
>
Returns
VW
Returns
any
Abstract
write
Null
write
Null
(
)
:
any
Returns
any
Abstract
write
String
write
String
(
value
:
string
)
:
any
Parameters
value:
string
Returns
any
Globals
"writers/structured"
Structured
Writer
write
Any
write
Boolean
write
Bytes
write
Date
write
Document
write
Float64
write
List
write
Map
write
Null
write
String
Generated using
TypeDoc
Base class for
json
,qs
andbson
writers.