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
uIntnIntSpec 2 and 3: int
D type and
float_Spec 4: float
D type
decimalSpec 5: decimal
D type
timestampSpec 6: timestamp
D type
symbolSpec 7: symbol
D type
stringSpec 8: string
D type const(char)[]
clobSpec 9: clob
D type Clob
blobSpec 10: blob
D type Blob
listSpec 11: list
D type
sexpSpec 12: sexp
D type
struct_Spec 13: struct
D type
annotationsSpec 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