The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
isAnnotated
mir
serde
Checks if the type marked with
serdeAnnotation
.
template
isAnnotated (
T
) {
enum
serdeAnnotation
via
import
mir
.
serde
:
serdeAnnotation
;
;
static if
(
is(T == enum) || isAggregateType!T
)
enum
isAnnotated
;
static if
(!(
is(T == enum) || isAggregateType!T
))
enum
isAnnotated
;
}
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
Checks if the type marked with serdeAnnotation.