Author: Duclos B65275
Below, I wrote a Delphi code.
////
function TForm1.json_to_array<T>(json_str, key_name: String; size_: Integer): TList<TValue>;
var
i: Integer;
sr_: TStringReader;
rd_: TJsonTextReader;
jiterator_: TJSONIterator;
list_: TList<TValue>;
begin
sr_ := TStringReader.Create(json_str);
rd_ := TJsonTextReader.Create(sr_);
jiterator_ :=…