Skip to content

Commit 7b9fdb7

Browse files
committed
add serdeRegisterDeserializer
1 parent d59f9c1 commit 7b9fdb7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

source/mir/serde.d

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ struct serdeKeyOut
118118
this(string key) { this.key = key; }
119119
}
120120

121+
/++
122+
The attribute should be used as a hind for scripting languages to register type deserializer in the type system.
123+
124+
The attribute should be applied to a type definition.
125+
+/
126+
enum serdeRegisterDeserializer;
127+
121128
/++
122129
The attribute should be applied to a string-like member that should be de/serialized as an annotation / attribute.
123130

0 commit comments

Comments
 (0)