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"
JsonWriter
Class JsonWriter
Hierarchy
JsonWriter
Implements
Writer
<
string
>
Index
Constructors
constructor
Properties
value
Writer
Methods
write
Any
write
Boolean
write
Bytes
write
Date
write
Document
write
Float64
write
List
write
Map
write
Null
write
String
Constructors
constructor
new
Json
Writer
(
)
:
JsonWriter
Returns
JsonWriter
Properties
Private
value
Writer
value
Writer
:
JsonValueWriter
Methods
write
Any
write
Any
(
value
:
number
)
:
string
Parameters
value:
number
Returns
string
write
Boolean
write
Boolean
(
value
:
boolean
)
:
string
Parameters
value:
boolean
Returns
string
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
)
:
string
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
string
write
Float64
write
Float64
(
value
:
number
)
:
string
Parameters
value:
number
Returns
string
write
List
write
List
(
size
:
number
, handler
:
function
)
:
string
Parameters
size:
number
handler:
function
(
index
:
number
, itemWriter
:
Writer
<
any
>
)
:
any
Parameters
index:
number
itemWriter:
Writer
<
any
>
Returns
any
Returns
string
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
(
)
:
string
Returns
string
write
String
write
String
(
value
:
string
)
:
string
Parameters
value:
string
Returns
string
Globals
"writers/json"
Json
Writer
constructor
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