Serializes and deserializes TOML payloads, following a System.Text.Json-style API shape.
public static class TomlSerializer
kind:method, kind:property, kind:ctor. Press Esc to clear.IsReflectionEnabledByDefaultGets a value indicating whether reflection-based serialization is enabled by default.Deserialize(Stream, Type, TomlSerializerContext)Deserializes a TOML payload from a stream using UTF-8 encoding into an explicit destination type using generated metadata from a serializer context.Deserialize(Stream, Type, TomlSerializerOptions?)Deserializes a TOML payload from a stream using UTF-8 encoding into an explicit destination type.Deserialize(Stream, TomlTypeInfo)Deserializes a TOML payload from a stream using UTF-8 encoding and explicit metadata.Deserialize(TextReader, Type, TomlSerializerContext)Deserializes a TOML payload from a text reader into an explicit destination type using generated metadata from a serializer context.Deserialize(TextReader, Type, TomlSerializerOptions?)Deserializes a TOML payload from a text reader into an explicit destination type.Deserialize(TextReader, TomlTypeInfo)Deserializes a TOML payload from a text reader using explicit metadata.Deserialize(String, Type, TomlSerializerContext)Deserializes a TOML payload from text into an explicit destination type using generated metadata from a serializer context.Deserialize(String, Type, TomlSerializerOptions?)Deserializes a TOML payload from text into an explicit destination type.Deserialize(String, TomlTypeInfo)Deserializes a TOML payload from text using explicit metadata.Deserialize<T>(Stream, TomlSerializerContext)Deserializes a TOML payload from a stream using UTF-8 encoding and generated metadata from a serializer context.Deserialize<T>(Stream, TomlSerializerOptions?)Deserializes a TOML payload from a stream using UTF-8 encoding.Deserialize<T>(Stream, TomlTypeInfo<T>)Deserializes a TOML payload from a stream using UTF-8 encoding and explicit metadata.Deserialize<T>(TextReader, TomlSerializerContext)Deserializes a TOML payload from a text reader using generated metadata from a serializer context.Deserialize<T>(TextReader, TomlSerializerOptions?)Deserializes a TOML payload from a text reader.Deserialize<T>(TextReader, TomlTypeInfo<T>)Deserializes a TOML payload from a text reader using explicit metadata.Deserialize<T>(String, TomlSerializerContext)Deserializes a TOML payload from text using generated metadata from a serializer context.Deserialize<T>(String, TomlSerializerOptions?)Deserializes a TOML payload from text.Deserialize<T>(String, TomlTypeInfo<T>)Deserializes a TOML payload from text using explicit metadata.Serialize(Stream, Object?, Type, TomlSerializerContext)Serializes a value to a stream using UTF-8 encoding, an explicit input type, and generated metadata from a serializer context.Serialize(Stream, Object?, Type, TomlSerializerOptions?)Serializes a value to a stream using UTF-8 encoding and an explicit input type.Serialize(Stream, Object?, TomlTypeInfo)Serializes a value to a stream using UTF-8 encoding and explicit metadata.Serialize(TextWriter, Object?, Type, TomlSerializerContext)Serializes a value to a writer using an explicit input type and generated metadata from a serializer context.Serialize(TextWriter, Object?, Type, TomlSerializerOptions?)Serializes a value to a writer using an explicit input type.Serialize(TextWriter, Object?, TomlTypeInfo)Serializes a value to a writer using explicit metadata.Serialize(Object?, Type, TomlSerializerContext)Serializes a value into TOML text using generated metadata from a serializer context.Serialize(Object?, Type, TomlSerializerOptions?)Serializes a value into TOML text using an explicit input type.Serialize(Object?, TomlTypeInfo)Serializes a value into TOML text using explicit metadata.Serialize<T>(T, TomlSerializerContext)Serializes a value into TOML text using generated metadata from a serializer context.Serialize<T>(T, TomlSerializerOptions?)Serializes a value into TOML text.Serialize<T>(T, TomlTypeInfo<T>)Serializes a value into TOML text using explicit metadata.Serialize<T>(Stream, T, TomlSerializerContext)Serializes a value to a stream using UTF-8 encoding and generated metadata from a serializer context.Serialize<T>(Stream, T, TomlSerializerOptions?)Serializes a value to a stream using UTF-8 encoding.Serialize<T>(Stream, T, TomlTypeInfo<T>)Serializes a value to a stream using UTF-8 encoding and explicit metadata.Serialize<T>(TextWriter, T, TomlSerializerContext)Serializes a value to a writer using generated metadata from a serializer context.Serialize<T>(TextWriter, T, TomlSerializerOptions?)Serializes a value to a writer.Serialize<T>(TextWriter, T, TomlTypeInfo<T>)Serializes a value to a writer using explicit metadata.TryDeserialize(Stream, Type, out Object?, TomlSerializerOptions?)Attempts to deserialize a TOML payload from a stream using UTF-8 encoding into an explicit destination type.TryDeserialize(Stream, Type, TomlSerializerContext, out Object?)Attempts to deserialize a TOML payload from a stream using UTF-8 encoding into an explicit destination type using generated metadata from a serializer context.TryDeserialize(TextReader, Type, out Object?, TomlSerializerOptions?)Attempts to deserialize a TOML payload from a text reader into an explicit destination type.TryDeserialize(TextReader, Type, TomlSerializerContext, out Object?)Attempts to deserialize a TOML payload from a text reader into an explicit destination type using generated metadata from a serializer context.TryDeserialize(String, Type, out Object?, TomlSerializerOptions?)Attempts to deserialize a TOML payload from text into an explicit destination type.TryDeserialize(String, Type, TomlSerializerContext, out Object?)Attempts to deserialize a TOML payload from text into an explicit destination type using generated metadata from a serializer context.TryDeserialize<T>(Stream, out T?, TomlSerializerOptions?)Attempts to deserialize a TOML payload from a stream using UTF-8 encoding.TryDeserialize<T>(Stream, TomlSerializerContext, out T?)Attempts to deserialize a TOML payload from a stream using UTF-8 encoding and generated metadata from a serializer context.TryDeserialize<T>(TextReader, out T?, TomlSerializerOptions?)Attempts to deserialize a TOML payload from a text reader.TryDeserialize<T>(TextReader, TomlSerializerContext, out T?)Attempts to deserialize a TOML payload from a text reader using generated metadata from a serializer context.TryDeserialize<T>(String, out T?, TomlSerializerOptions?)Attempts to deserialize a TOML payload from text.TryDeserialize<T>(String, TomlSerializerContext, out T?)Attempts to deserialize a TOML payload from text using generated metadata from a serializer context.