Skip to content

Controlling inline generation #45

@stephendrew

Description

@stephendrew
    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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions