Omit property name when serializing.
bruceharrison1984 opened this issue · 1 comments
bruceharrison1984 commented
Is there an easy way to omit the property name when serializing? The default serialization works fine in my case, but the protocol I am using is implicit, and doesn't include property names in the serialized payload. Currently I am writing custom convertors for each object, but wasn't sure if there was an easier way.
mcatanzariti commented
The aim of this library is to translate C# class/structs fields or properties into Cbor properties.
If you wan't to get rid of properties, you could write a Cbor converter provider to automatically generate a cbor converter for each class by reflection but you would loose the different features offered by the built-in object mapping