cbor_serialization/format

Search:
Group by:
Source   Edit  

Types

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

Templates

template allowsUnknownFields(F: type Cbor; T: type DefaultFlavor): bool {..}
Source   Edit  
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 enumRep(F: type Cbor; T: type DefaultFlavor): EnumRepresentation {..}
Source   Edit  
template enumRep(F: type Cbor; T: type DefaultFlavor;
                 rep: static[EnumRepresentation]) {..}
Source   Edit  
template enumRep(T: type Cbor): EnumRepresentation {..}
Source   Edit  
template enumRep(T: type Cbor; rep: static[EnumRepresentation]) {..}
Source   Edit  
template flavorEnumRep(T: type Cbor) {..}
Source   Edit  
template flavorEnumRep(T: type Cbor; rep: static[EnumRepresentation]) {..}
Source   Edit  
template mimeType(T: type Cbor): string {..}
Source   Edit  
template omitsOptionalFields(F: type Cbor; T: type DefaultFlavor): bool {..}
Source   Edit  
template requiresAllFields(F: type Cbor; T: type DefaultFlavor): bool {..}
Source   Edit  
template skipsNullFields(F: type Cbor; T: type DefaultFlavor): bool {..}
Source   Edit  
template supports(_: type Cbor; T: type): bool {..}
Source   Edit