| IYamlOnDeserialized |
interface |
Specifies that the YAML type should have its IYamlOnDeserialized.OnDeserialized method called after deserialization occurs. |
| IYamlOnDeserializing |
interface |
Specifies that the type should have its IYamlOnDeserializing.OnDeserializing method called before deserialization occurs. |
| IYamlOnSerialized |
interface |
Specifies that the type should have its IYamlOnSerialized.OnSerialized method called after serialization occurs. |
| IYamlOnSerializing |
interface |
Specifies that the type should have its IYamlOnSerializing.OnSerializing method called before serialization occurs. |
| ReferenceHandler |
class |
This class defines how the YamlSerializer deals with references on serialization and deserialization. |
| ReferenceHandler<T> |
class |
This class defines how the YamlSerializer deals with references on serialization and deserialization. |
| ReferenceResolver |
class |
This class defines how the YamlSerializer deals with references on serialization and deserialization. Defines the core behavior of preserving references on serialization and deserialization. |
| YamlAttribute |
class |
The base class of serialization attributes. |
| YamlCommentAttribute |
class |
Writes a comment above the member in block style, one # line per line of YamlCommentAttribute.Comment, as YamlDotNet's [YamlMember(Description = …)]. The comment is written for a null member too, and not for a member left out by an ignore condition; it is dropped in JSON-compatible style, and comments are skipped when reading. |
| YamlConstructorAttribute |
class |
When placed on a constructor, indicates that the constructor should be used to create instances of the type on deserialization. |
| YamlConverter |
class |
Converts an object or value to or from YAML. |
| YamlConverter<T> |
class |
Converts an object or value to or from YAML. |
| YamlConverterAttribute |
class |
When placed on a property, field, or type, specifies the converter type to use. |
| YamlConverterFactory |
class |
Supports converting several types by using a factory pattern. |
| YamlDerivedTypeAttribute |
class |
When placed on a type declaration, indicates that the specified subtype should be opted into polymorphic serialization. |
| YamlExtensionDataAttribute |
class |
When placed on a property or field of type YamlObject, IDictionary<T, T2>, or IReadOnlyDictionary<T, T2>, any properties that do not have a matching property or field are added during deserialization and written during serialization. |
| YamlIgnoreAttribute |
class |
Prevents a property or field from being serialized or deserialized. When placed on a type, specifies the default YamlIgnoreCondition for all properties and fields of the type. |
| YamlIgnoreCondition |
enum |
When specified on YamlSerializerOptions.DefaultIgnoreCondition, determines when properties and fields across the type graph are ignored. When specified on YamlIgnoreAttribute.Condition, controls whether a property or field is ignored during serialization and deserialization. This option overrides the setting on YamlSerializerOptions.DefaultIgnoreCondition. |
| YamlIncludeAttribute |
class |
Indicates that the property or field should be included for serialization and deserialization. |
| YamlKnownNamingPolicy |
enum |
The YamlNamingPolicy to be used at run time. |
| YamlKnownReferenceHandler |
enum |
The ReferenceHandler to be used at run time. |
| YamlMappingOrder |
enum |
The order in which the serializer writes an object's members (YamlSerializerOptions.MappingOrder), as SharpYaml's MappingOrder. |
| YamlNamingPolicyAttribute |
class |
When placed on a type, property, or field, indicates what YamlNamingPolicy should be used to convert property names. |
| YamlNumberEnumConverter<TEnum> |
class |
Converter to convert enums to and from numeric values. |
| YamlNumberHandling |
enum |
Determines how YamlSerializer handles numbers when serializing and deserializing. The behavior of YamlNumberHandling.WriteAsString and YamlNumberHandling.AllowNamedFloatingPointLiterals is not defined by the YAML specification. Altering the default number handling can potentially produce YAML that cannot be parsed by other YAML implementations. |
| YamlNumberHandlingAttribute |
class |
When placed on a type, property, or field, indicates what YamlNumberHandling settings should be used when serializing or deserializing numbers. |
| YamlObjectCreationHandling |
enum |
Determines how deserialization will handle object creation for fields or properties. |
| YamlObjectCreationHandlingAttribute |
class |
Determines how deserialization will handle object creation for fields or properties. |
| YamlPolymorphicAttribute |
class |
When placed on a type, indicates that the type should be serialized polymorphically. |
| YamlPropertyNameAttribute |
class |
Specifies the property name that is present in the YAML when serializing and deserializing. This overrides any naming policy specified by YamlNamingPolicy. |
| YamlPropertyOrderAttribute |
class |
Specifies the property order that is present in the YAML when serializing. Lower values are serialized first. If the attribute is not specified, the default value is 0. |
| YamlRequiredAttribute |
class |
Indicates that the annotated member must bind to a YAML property on deserialization. |
| YamlScalarStyleAttribute |
class |
The scalar style in which the member's string value is written in block style, as YamlDotNet's [YamlMember(ScalarStyle = …)]. |
| YamlSerializableAttribute |
class |
Instructs the System.Text.Yaml source generator to generate source code to help optimize performance when serializing and deserializing instances of the specified type and types in its object graph. |
| YamlSerializerContext |
class |
Provides metadata about a set of types that is relevant to YAML serialization. |
| YamlSourceGenerationMode |
enum |
The generation mode for the System.Text.Yaml source generator. |
| YamlSourceGenerationOptionsAttribute |
class |
Specifies compile-time source generator configuration when applied to YamlSerializerContext class declarations. |
| YamlStringEnumConverter |
class |
Converter to convert enums to and from strings. |
| YamlStringEnumConverter<TEnum> |
class |
Converter to convert enums to and from strings. |
| YamlStringEnumMemberNameAttribute |
class |
Determines the string value that should be used when serializing an enum member. |
| YamlTagMappingAttribute |
class |
Adds an entry to the source-generated options' YamlSerializerOptions.TagMappings: the YAML tag given first reads and writes the type given second, which the context then also generates. |
| YamlTypeClassifier |
delegate |
A delegate that classifies a YAML payload to determine the concrete type it corresponds to. Used by both union types and polymorphic types with custom type classifiers. |
| YamlTypeClassifierContext |
class |
Provides immutable metadata to a YamlTypeClassifierFactory when creating a YamlTypeClassifier delegate. |
| YamlTypeClassifierFactory |
class |
When implemented in a derived class, creates a YamlTypeClassifier delegate that classifies YAML payloads to determine the target type. |
| YamlTypeClassifierFactory<T> |
class |
Convenience base class for a YamlTypeClassifierFactory that produces type classifiers for a single declaring type T. |
| YamlTypeClassifierKind |
enum |
Identifies the type of metadata being configured for a YamlTypeClassifierFactory. |
| YamlTypeDiscriminatorStyle |
enum |
How a polymorphic type writes which derived type a value is (M5d). Reading accepts the $type property under every style, and a tag under YamlTypeDiscriminatorStyle.Tag and YamlTypeDiscriminatorStyle.Both. |
| YamlUnionAttribute |
class |
Customizes the System.Text.Yaml behavior of a union type. |
| YamlUnionTypeStructuralClassifier |
class |
Classifies YAML payloads into union case types by comparing their YAML value types and, for YAML objects, their property names. |
| YamlUnknownDerivedTypeHandling |
enum |
Defines how objects of a derived runtime type that has not been explicitly declared for polymorphic serialization should be handled. |
| YamlUnknownTypeHandling |
enum |
Defines how deserializing a type declared as an Object is handled during deserialization. |
| YamlUnmappedMemberHandling |
enum |
Determines how YamlSerializer handles YAML properties that cannot be mapped to a specific .NET member when deserializing object types. |
| YamlUnmappedMemberHandlingAttribute |
class |
When placed on a type, determines the YamlUnmappedMemberHandling configuration for the specific type, overriding the global YamlSerializerOptions.UnmappedMemberHandling setting. |