csharp
public record class YamlScalarConverterHow a type that is not a primitive is written as one scalar, and read back.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (4)
public Func<string, object> ParseTurns the text into a value.
public Func<object, string> FormatTurns the value into text.
public YamlScalarStyle StyleHow the text should be quoted.
public bool AcceptsNullWhether null in the document is a legal value rather than the absence of one. True for AssetReference, whose null is a real reference to nothing.
Methods (1)
public YamlScalarConverter(Func<string, object> Parse, Func<object, string> Format, YamlScalarStyle Style = Any, bool AcceptsNull = false)How a type that is not a primitive is written as one scalar, and read back.
Used by (2)
- YamlScalarConvertersVixen.Core.Yaml
- YamlSerializerVixen.Core.Yaml