cbor_serialization/format

Search:
Group by:
Source   Edit  

Types

Cbor = object of SerializationFormat
Source   Edit  
EnumRepresentation = enum
  EnumAsString, EnumAsNumber, EnumAsStringifiedNumber
Source   Edit  

Templates

template createCborFlavor(FlavorName: untyped;
                          mimeTypeValue = "application/cbor";
                          automaticObjectSerialization = false;
                          automaticPrimitivesSerialization = true;
                          requireAllFields = true; omitOptionalFields = true;
                          allowUnknownFields = true; skipNullFields = false) {.
    dirty.}
Source   Edit  
template defaultBuiltinReader(Flavor: type) {..}
Source   Edit  
template defaultBuiltinSerialization(Flavor: type) {..}
Source   Edit  
template defaultBuiltinWriter(Flavor: type) {..}
Source   Edit  
template defaultObjectReader(Flavor: type) {..}
Source   Edit  
template defaultObjectSerialization(Flavor: type) {..}
Source   Edit  
template defaultObjectWriter(Flavor: type) {..}
Source   Edit  
template defaultPrimitiveReader(Flavor: type) {..}
Source   Edit  
template defaultPrimitiveSerialization(Flavor: type) {..}
Source   Edit  
template defaultPrimitiveWriter(Flavor: type) {..}
Source   Edit  
template defaultReader(Flavor: type; T: untyped) {..}
Source   Edit  
template defaultReaders(Flavor: type) {..}
Source   Edit  
template defaultSerialization(Flavor: type) {..}
Source   Edit  
template defaultSerialization(Flavor: type; T: untyped) {..}
Source   Edit  
template defaultWriter(Flavor: type; T: untyped) {..}
Source   Edit  
template defaultWriters(Flavor: type) {..}
Source   Edit  
template flavorAllowsUnknownFields(T: type DefaultFlavor): bool {..}
Source   Edit  
template flavorEnumRep(T: type Cbor; rep: static[EnumRepresentation]) {..}
Source   Edit  
template flavorEnumRep(T: type DefaultFlavor): EnumRepresentation {..}
Source   Edit  
template flavorEnumRep(T: type DefaultFlavor; rep: static[EnumRepresentation]) {..}
Source   Edit  
template flavorOmitsOptionalFields(T: type DefaultFlavor): bool {..}
Source   Edit  
template flavorRequiresAllFields(T: type DefaultFlavor): bool {..}
Source   Edit  
template flavorSkipNullFields(T: type DefaultFlavor): bool {..}
Source   Edit  
template flavorUsesAutomaticObjectSerialization(T: type DefaultFlavor): bool {..}
Source   Edit  
template mimeType(T: type Cbor): string {..}
Source   Edit  
template supports(_: type Cbor; T: type): bool {..}
Source   Edit