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-stream"
JsonStreamWriter
Class JsonStreamWriter
Hierarchy
JsonStreamWriter
Implements
Writer
<
boolean
>
Index
Constructors
constructor
Properties
stream
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
Stream
Writer
(
stream
:
WritableStream
)
:
JsonStreamWriter
Parameters
stream:
WritableStream
Returns
JsonStreamWriter
Properties
Private
stream
stream
:
WritableStream
Methods
write
Any
write
Any
(
value
:
any
)
:
boolean
Parameters
value:
any
Returns
boolean
write
Boolean
write
Boolean
(
value
:
boolean
)
:
boolean
Parameters
value:
boolean
Returns
boolean
write
Bytes
write
Bytes
(
value
:
Uint8Array
)
:
boolean
Parameters
value:
Uint8Array
Returns
boolean
write
Date
write
Date
(
value
:
Date
)
:
boolean
Parameters
value:
Date
Returns
boolean
write
Document
write
Document<K>
(
keys
:
Iterable
<
K
>
, handler
:
function
)
:
boolean
Type parameters
K
:
string
Parameters
keys:
Iterable
<
K
>
handler:
function
(
key
:
K
, fieldWriter
:
Writer
<
boolean
>
)
:
boolean
Parameters
key:
K
fieldWriter:
Writer
<
boolean
>
Returns
boolean
Returns
boolean
write
Float64
write
Float64
(
value
:
number
)
:
boolean
Parameters
value:
number
Returns
boolean
write
List
write
List
(
size
:
number
, handler
:
function
)
:
boolean
Parameters
size:
number
handler:
function
(
index
:
number
, itemWriter
:
Writer
<
boolean
>
)
:
boolean
Parameters
index:
number
itemWriter:
Writer
<
boolean
>
Returns
boolean
Returns
boolean
write
Map
write
Map
(
size
:
number
, keyHandler
:
function
, valueHandler
:
function
)
:
boolean
Parameters
size:
number
keyHandler:
function
(
index
:
number
, mapKeyWriter
:
Writer
<
boolean
>
)
:
boolean
Parameters
index:
number
mapKeyWriter:
Writer
<
boolean
>
Returns
boolean
valueHandler:
function
(
index
:
number
, mapValueWriter
:
Writer
<
boolean
>
)
:
boolean
Parameters
index:
number
mapValueWriter:
Writer
<
boolean
>
Returns
boolean
Returns
boolean
write
Null
write
Null
(
)
:
boolean
Returns
boolean
write
String
write
String
(
value
:
string
)
:
boolean
Parameters
value:
string
Returns
boolean
Globals
"writers/json-
stream"
Json
Stream
Writer
constructor
stream
write
Any
write
Boolean
write
Bytes
write
Date
write
Document
write
Float64
write
List
write
Map
write
Null
write
String
Writable
Stream
Generated using
TypeDoc