Search
Preparing search index...
The search index is not available
Kryo
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"writers/json-value"
JsonValueWriter
Class JsonValueWriter
Hierarchy
StructuredWriter
JsonValueWriter
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
write
Boolean
write
Boolean
(
value
:
boolean
)
:
boolean
Parameters
value:
boolean
Returns
boolean
write
Bytes
write
Bytes
(
value
:
Uint8Array
)
:
string
Parameters
value:
Uint8Array
Returns
string
write
Date
write
Date
(
value
:
Date
)
:
string
Parameters
value:
Date
Returns
string
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
>
write
Float64
write
Float64
(
value
:
number
)
:
number
|
string
Parameters
value:
number
Returns
number
|
string
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
[]
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
write
Null
write
Null
(
)
:
null
Returns
null
write
String
write
String
(
value
:
string
)
:
string
Parameters
value:
string
Returns
string
Globals
"writers/json-
value"
Json
Value
Writer
write
Any
write
Boolean
write
Bytes
write
Date
write
Document
write
Float64
write
List
write
Map
write
Null
write
String
Generated using
TypeDoc