Object serialization layer, aligned with System.Text.Json concepts, attributes, and source generation.
TomlAttributeBase type for all Tomlyn serialization attributes.TomlConstructorAttributeSpecifies which constructor should be used during TOML deserialization.TomlConverterConverts between TOML tokens and a CLR type.TomlConverter<T>Converts between TOML and a specific CLR type.TomlConverterAttributeSpecifies a custom TomlConverter to use when serializing or deserializing a member or type.TomlConverterFactoryProduces TomlConverter instances for a family of types.TomlDerivedTypeAttributeRegisters a derived type for polymorphic TOML serialization.TomlExtensionDataAttributeIndicates that a member should receive any unmapped TOML keys encountered during deserialization.TomlIgnoreAttributeInstructs the TomlSerializer not to serialize the field or property value.TomlIncludeAttributeIncludes a non-public member in TOML serialization.TomlMetadataStoreDefault ITomlMetadataStore implementation backed by a System.Runtime.CompilerServices.ConditionalWeakTable`2.TomlPolymorphicAttributeMarks a base type as polymorphic for TOML serialization.TomlPolymorphicTypeInfo<TBase>Provides source-generator-friendly discriminator-based polymorphism support for TOML serialization.TomlPropertyNameAttributeSpecifies the serialized TOML property name for a member.TomlPropertyOrderAttributeSpecifies the emitted order for a serialized member.TomlReaderReads TOML tokens for use by TomlConverter implementations.TomlRequiredAttributeSpecifies that a member is required during deserialization.TomlSerializerContextBase type for source-generated TOML serializer contexts.TomlSourceGenerationOptionsAttributeSpecifies default source generation options for a TomlSerializerContext.TomlWriterWrites TOML tokens for use by TomlConverter implementations.ITomlMetadataStoreAssociates TOML trivia/comment metadata with object instances.ITomlOnDeserializedDefines a callback that is invoked after an instance has been populated during deserialization.ITomlOnDeserializingDefines a callback that is invoked after an instance is created but before it is populated during deserialization.ITomlOnSerializedDefines a callback that is invoked after an instance has been serialized to TOML.ITomlOnSerializingDefines a callback that is invoked before an instance is serialized to TOML.TomlTokenTypeRepresents the current logical token when reading TOML.This namespace contains the building blocks used by TomlSerializer:
TomlTypeInfo<T>, resolver interfaces, and source-generated contexts).System.Text.Json.Serialization attributes).TomlConverter<T> / TomlConverterFactory) and reader/writer primitives (TomlReader, TomlWriter).