Report a bug
If you spot a problem with this page, click here to create a GitHub issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
a local clone.
mir.ion.type_code
Ion Type enumeration and encoding.
- enum
IonTypeCode
: int; - Codes for Typed Value Formats
null_
Spec 0: null
D type .
bool_
Spec 1: bool
D type bool
uInt
nInt
Spec 2 and 3: int
D type and
float_
Spec 4: float
D type
decimal
Spec 5: decimal
D type
timestamp
Spec 6: timestamp
D type
symbol
Spec 7: symbol
D type
string
Spec 8: string
D type const(char)[]
clob
Spec 9: clob
D type Clob
blob
Spec 10: blob
D type Blob
list
Spec 11: list
D type
sexp
Spec 12: sexp
D type
struct_
Spec 13: struct
D type
annotations
Spec 14: Annotations
D type
- pure nothrow @nogc @safe string
nullStringOf
()(IonTypeCodecode
); - Returns:text Ion representation of null type code.
- pure nothrow @nogc @safe string
nullStringJsonAlternative
()(IonTypeCodecode
); - Returns:JSON representation of null value that can be deserialized to an algebraic types. Empty strings, structs, and lists are used instead of null value for the corresponding codes.
Copyright © 2016-2022 by Ilya Yaroshenko | Page generated by
Ddoc on Thu Mar 10 07:43:26 2022