Procs
func typeAutoSerialize(F: type JrpcConv; TM: distinct type): bool {.compileTime, ...raises: [], gcsafe.}
- Check if a type has automatic serialization flag. Source Edit
func typeClassOrMemberAutoSerialize(F: type JrpcConv; TC: distinct type; TM: distinct type): bool {.compileTime, ...raises: [], gcsafe.}
- Check whether a type or its parent type class have automatic serialization flag. Source Edit
Templates
template automaticBuiltinSerialization(F: type JrpcConv; enable: static[bool]) {..}
- Enable or disable all builtin serialization. Source Edit
template automaticPrimitivesSerialization(F: type JrpcConv; enable: static[bool]) {..}
- Set all supported primitives automatic serialization flag. Source Edit
template automaticSerialization(F: type JrpcConv; T: distinct type; enable: static[bool]) {..}
- Set a single type's automatic serialization flag. Source Edit
template flavorAllowsUnknownFields(T: type JrpcConv): bool {..}
- Source Edit
template flavorEnumRep(T: type JrpcConv): EnumRepresentation {..}
- Source Edit
template flavorEnumRep(T: type JrpcConv; rep: static[EnumRepresentation]) {..}
- Source Edit
template flavorOmitsOptionalFields(T: type JrpcConv): bool {..}
- Source Edit
template flavorRequiresAllFields(T: type JrpcConv): bool {..}
- Source Edit
template flavorSkipNullFields(T: type JrpcConv): bool {..}
- Source Edit
template flavorUsesAutomaticObjectSerialization(T: type JrpcConv): bool {..}
- Source Edit
template PreferredOutputType(T`gensym1: type JrpcConv): type {..}
- Source Edit