telega ~master (2021-06-18T23:53:05Z)
Dub
Repo
SerializableEnumProxy
telega
serialization
Proxy struct for serializing string enums as their values, not key names
@
serializedAs
!
string
struct
SerializableEnumProxy (
T
)
if
(
is
(
T
:
string
)
) {
T
e
;
this
(T e);
string
toString
();
}
Constructors
this
this
(T e)
Undocumented in source.
Members
Functions
toString
string
toString
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
e
T
e
;
Undocumented in source.
Meta
Source
See Implementation
telega
serialization
enums
E
functions
removeNulledNodes
serializeToJsonString
structs
JsonableAlgebraicProxy
SerializableEnumProxy
Proxy struct for serializing string enums as their values, not key names