The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
serdeGetKeysIn
mir
serde
template
serdeGetKeysIn
(alias symbol)
template
serdeGetKeysIn (
alias
symbol
) {
static if
(
hasUDA!(symbol, serdeAnnotation) || hasUDA!(symbol, serdeIgnore) || hasUDA!(symbol, serdeIgnoreIn)
)
enum
immutable
(
string
)[]
serdeGetKeysIn
;
static if
(!(
hasUDA!(symbol, serdeAnnotation) || hasUDA!(symbol, serdeIgnore) || hasUDA!(symbol, serdeIgnoreIn)
))
static if
(
hasUDA!(symbol, serdeKeys)
)
enum
immutable
(
string
)[]
serdeGetKeysIn
;
static if
(!(
hasUDA!(symbol, serdeAnnotation) || hasUDA!(symbol, serdeIgnore) || hasUDA!(symbol, serdeIgnoreIn)
))
static if
(!(
hasUDA!(symbol, serdeKeys)
))
enum
immutable
(
string
)[]
serdeGetKeysIn
;
}
immutable
(
string
)[]
serdeGetKeysIn
(T value)
Return Value
immutable array of the input keys for the symbol or enum value
Meta
Source
See Implementation
mir
serde
classes
SerdeException
SerdeMirException
enums
SerdeTarget
serdeAnnotation
serdeIgnore
serdeIgnoreDefault
serdeIgnoreIn
serdeIgnoreOut
serdeIgnoreUnexpectedKeys
serdeRegister
structs
serdeAlgebraicAnnotation
serdeKeyOut
serdeKeys
serdeProxy
templates
SerdeAnnotated
isAnnotated
serdeDynamicAlgebraic
serdeGetAlgebraicAnnotation
serdeGetAlgebraicDeserializer
serdeGetAnnotationMembersIn
serdeGetAnnotationMembersOut
serdeGetKeyOut
serdeGetKeysIn
serdeHasAlgebraicAnnotation
serdeIsDynamicAlgebraic