How kiarashminoo/thunderpropagator.formatserializers works
ThunderPropagator.FormatSerializers is a set of pluggable .NET serializers and deserializers for MessagePack, NetJSON, Protobuf, Toon, XML, and YAML. An integrating application registers a format adapter, then calls its string- or byte-based serialization and deserialization methods; string encodings are Base64 for MessagePack, Protobuf, and Toon. The adapters delegate format-specific work to helper APIs. YAML additionally supports configurable serializer settings, custom type converters, and node deserializers. The README documents all six formats; helper call edges follow the adapter excerpts, while deeper helper internals were not sampled.
Main entry points: YamlHelper.cs YAML helpers · MessagePackFormatSerializer.cs MessagePack adapter · ProtobufFormatSerializer.cs Protobuf adapter · NetJsonFormatSerializer.cs NetJSON adapter
Components 17
Binary formats
- MessagePack adapter
src/ThunderPropagator.FormatSerializers.MessagePack/MessagePackFormatSerializer.cs - MessagePack helpers
src/ThunderPropagator.FormatSerializers.MessagePack/MessagePackHelper.cs - Protobuf adapter
src/ThunderPropagator.FormatSerializers.Protobuf/ProtobufFormatSerializer.cs - Protobuf helpers
src/ThunderPropagator.FormatSerializers.Protobuf/ProtobufHelper.cs
Text formats
- NetJSON adapter
src/ThunderPropagator.FormatSerializers.NetJson/NetJsonFormatSerializer.cs - NetJSON helpers
src/ThunderPropagator.FormatSerializers.NetJson/NetJsonHelper.cs - Toon adapter
src/ThunderPropagator.FormatSerializers.Toon/ToonFormatSerializer.cs - Toon helpers
src/ThunderPropagator.FormatSerializers.Toon/ToonHelper.cs - XML adapter
src/ThunderPropagator.FormatSerializers.Xml/XmlFormatSerializer.cs - XML helpers
src/ThunderPropagator.FormatSerializers.Xml/XmlHelper.cs
YAML extensions
- YAML adapter
src/ThunderPropagator.FormatSerializers.Yaml/YamlFormatSerializer.cs - YAML helpers
src/ThunderPropagator.FormatSerializers.Yaml/YamlHelper.cs - YAML settings
src/ThunderPropagator.FormatSerializers.Yaml/YamlSerializerSettings.cs - Custom converters
src/ThunderPropagator.FormatSerializers.Yaml/YamlTypeConverter.cs - Converter attribute
src/ThunderPropagator.FormatSerializers.Yaml/YamlTypeConverterAttribute.cs - Node deserializer attribute
src/ThunderPropagator.FormatSerializers.Yaml/YamlNodeDeserializerAttribute.cs
Other components
- Integrating application
Connections 16
- Integrating application → MessagePack adapter: uses adapter
- Integrating application → Protobuf adapter: uses adapter
- Integrating application → NetJSON adapter: uses adapter
- Integrating application → Toon adapter: uses adapter
- Integrating application → XML adapter: uses adapter
- Integrating application → YAML adapter: uses adapter
- MessagePack adapter → MessagePack helpers: delegates encoding
src/ThunderPropagator.FormatSerializers.MessagePack/MessagePackFormatSerializer.cs - Protobuf adapter → Protobuf helpers: delegates encoding
src/ThunderPropagator.FormatSerializers.Protobuf/ProtobufFormatSerializer.cs - NetJSON adapter → NetJSON helpers: delegates encoding
src/ThunderPropagator.FormatSerializers.NetJson/NetJsonFormatSerializer.cs - Toon adapter → Toon helpers: delegates encoding
src/ThunderPropagator.FormatSerializers.Toon/ToonFormatSerializer.cs - XML adapter → XML helpers: delegates encoding
src/ThunderPropagator.FormatSerializers.Xml/XmlFormatSerializer.cs - YAML adapter → YAML helpers: delegates encoding
src/ThunderPropagator.FormatSerializers.Yaml/YamlFormatSerializer.cs - YAML helpers → YAML settings: reads settings
src/ThunderPropagator.FormatSerializers.Yaml/YamlHelper.cs - YAML helpers → Converter attribute: reads attribute
src/ThunderPropagator.FormatSerializers.Yaml/YamlHelper.cs - YAML helpers → Node deserializer attribute: reads attribute
src/ThunderPropagator.FormatSerializers.Yaml/YamlHelper.cs - Custom converters → Converter attribute: reads attribute
src/ThunderPropagator.FormatSerializers.Yaml/YamlTypeConverter.cs