Tomlet
Tomlet copied to clipboard
Controlling inline generation
public bool CanBeSerializedInline
{
get
{
if (!this.IsTableArray)
return true;
return this.ArrayValues.All<TomlValue>((Func<TomlValue, bool>) (o => o is TomlTable tomlTable && tomlTable.ShouldBeSerializedInline)) && this.ArrayValues.Count <= 5;
}
}
It would be great if somehow we could control this "5" value...