Skip to content

Problem with "Nested Arrays" #11

@HemulGM

Description

@HemulGM

I use the generator on the site.

What is the reason for the lack of support for nested arrays?
Personally, I solve it in the way below:

TVkKeyboardButtons = TArray<TVkKeyboardButton>; -- **and array there**

TVkKeyboard = class
  private
    FButtons: TArray<TVkKeyboardButtons>;
    FOne_time: Boolean;
  public
    property buttons: TArray<TVkKeyboardButtons> read FButtons write FButtons; - **array there**
    property one_time: Boolean read FOne_time write FOne_time;
    destructor Destroy; override;
    function ToJsonString: string;
    class function FromJsonString(AJsonString: string): TVkKeyboard;
  end;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions