Search
Preparing search index...
The search index is not available
Ion-JS Library
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Ion-JS Library
IonPrettyTextWriter
PrettyTextWriter
Class PrettyTextWriter
Hierarchy
TextWriter
PrettyTextWriter
Index
Constructors
constructor
Accessors
is
Top
Level
Methods
_serialize
Value
add
Annotation
close
depth
get
Bytes
handle
Separator
set
Annotations
step
In
step
Out
write
Blob
write
Boolean
write
Clob
write
Container
write
Decimal
write
Field
Name
write
Float32
write
Float64
write
Int
write
Null
write
String
write
Symbol
write
Timestamp
write
Value
write
Values
Constructors
constructor
new
Pretty
Text
Writer
(
writeable
:
Writeable
, indentSize
?:
number
)
:
PrettyTextWriter
Parameters
writeable:
Writeable
indentSize:
number
= 2
Returns
PrettyTextWriter
Accessors
is
Top
Level
get
isTopLevel
(
)
:
boolean
Returns
boolean
Methods
_serialize
Value
_serialize
Value<T>
(
type
:
IonType
, value
:
T
, serialize
:
Serializer
<
T
>
)
:
void
Type parameters
T
Parameters
type:
IonType
value:
T
serialize:
Serializer
<
T
>
Returns
void
add
Annotation
add
Annotation
(
annotation
:
string
)
:
void
Parameters
annotation:
string
Returns
void
close
close
(
)
:
void
Returns
void
depth
depth
(
)
:
number
Returns
number
get
Bytes
get
Bytes
(
)
:
Uint8Array
Returns
Uint8Array
handle
Separator
handle
Separator
(
)
:
void
Returns
void
set
Annotations
set
Annotations
(
annotations
:
string
[]
)
:
void
Parameters
annotations:
string
[]
Returns
void
step
In
step
In
(
type
:
IonType
)
:
void
Parameters
type:
IonType
Returns
void
step
Out
step
Out
(
)
:
void
Returns
void
write
Blob
write
Blob
(
value
:
Uint8Array
)
:
void
Parameters
value:
Uint8Array
Returns
void
write
Boolean
write
Boolean
(
value
:
boolean
)
:
void
Parameters
value:
boolean
Returns
void
write
Clob
write
Clob
(
value
:
Uint8Array
)
:
void
Parameters
value:
Uint8Array
Returns
void
write
Container
write
Container
(
type
:
IonType
, openingCharacter
:
number
)
:
void
Parameters
type:
IonType
openingCharacter:
number
Returns
void
write
Decimal
write
Decimal
(
value
:
Decimal
)
:
void
Parameters
value:
Decimal
Returns
void
write
Field
Name
write
Field
Name
(
fieldName
:
string
)
:
void
Parameters
fieldName:
string
Returns
void
write
Float32
write
Float32
(
value
:
number
)
:
void
Parameters
value:
number
Returns
void
write
Float64
write
Float64
(
value
:
number
)
:
void
Parameters
value:
number
Returns
void
write
Int
write
Int
(
value
:
number
|
bigint
)
:
void
Parameters
value:
number
|
bigint
Returns
void
write
Null
write
Null
(
type
:
IonType
)
:
void
Parameters
type:
IonType
Returns
void
write
String
write
String
(
value
:
string
)
:
void
Parameters
value:
string
Returns
void
write
Symbol
write
Symbol
(
value
:
string
)
:
void
Parameters
value:
string
Returns
void
write
Timestamp
write
Timestamp
(
value
:
Timestamp
)
:
void
Parameters
value:
Timestamp
Returns
void
write
Value
write
Value
(
reader
:
Reader
)
:
void
Parameters
reader:
Reader
Returns
void
write
Values
write
Values
(
reader
:
Reader
)
:
void
Parameters
reader:
Reader
Returns
void
Modules
Ion
Pretty
Text
Writer
Pretty
Text
Writer
constructor
is
Top
Level
_serialize
Value
add
Annotation
close
depth
get
Bytes
handle
Separator
set
Annotations
step
In
step
Out
write
Blob
write
Boolean
write
Clob
write
Container
write
Decimal
write
Field
Name
write
Float32
write
Float64
write
Int
write
Null
write
String
write
Symbol
write
Timestamp
write
Value
write
Values