ae ~sd (2021-12-20T16:35:43.7627576)
Dub
Repo
Deserializer
ae
utils
sd
serialization
deserializer
Sink for deserializing data into a variable of type
T
.
struct
Deserializer (
T
) {
T
*
target
;
enum
bool
canHandleValue
(
U
)
;
void
handleValue
(U value);
static if
(
is(T : real)
)
void
handleNumeric
(Reader reader);
static immutable
static if
(
is(T == struct)
)
string
[]
fieldNames
;
static if
(
is(T == struct)
)
enum
maxLength
;
struct
FieldNameHandler
;
struct
FieldHandler
;
struct
StructHandler
;
static if
(
is(T == struct)
)
void
handleMap
(Reader reader);
struct
ArrayHandler
;
static if
(!(
is(T == struct)
))
static if
(
is(T E : E[])
)
void
handleArray
(Reader reader);
}
Members
Functions
handleArray
void
handleArray
(Reader reader)
Undocumented in source. Be warned that the author may not have intended to support it.
handleMap
void
handleMap
(Reader reader)
Undocumented in source. Be warned that the author may not have intended to support it.
handleNumeric
void
handleNumeric
(Reader reader)
Undocumented in source. Be warned that the author may not have intended to support it.
handleValue
void
handleValue
(U value)
Undocumented in source. Be warned that the author may not have intended to support it.
Manifest constants
maxLength
enum
maxLength
;
Undocumented in source.
Static variables
fieldNames
string
[]
fieldNames
;
Undocumented in source.
Structs
ArrayHandler
struct
ArrayHandler
Undocumented in source.
FieldHandler
struct
FieldHandler
Undocumented in source.
FieldNameHandler
struct
FieldNameHandler
Undocumented in source.
StructHandler
struct
StructHandler
Undocumented in source.
Variables
canHandleValue
enum
bool
canHandleValue
(
U
)
;
Undocumented in source.
target
T
*
target
;
Undocumented in source.
Meta
Source
See Implementation
ae
utils
sd
serialization
deserializer
functions
deserializeInto
deserializeNew
structs
Deserializer
Sink for deserializing data into a variable of type T.