Attempts to deserialize a YAML payload from text.
public static bool TryDeserialize<T>(string yaml, scoped out T? value, YamlSerializerOptions? options = null)
The YAML payload.
The deserialized value when successful; otherwise default.
The serializer options. If null, Default is used.
true when deserialization succeeded; otherwise false.