marlonnardi / JsonToDelphi

generate delphi classes from json (Json To Delphi Class Generator / JSON Data Binding Tool FMX, VCL and uniGUI)
https://jsontodelphi.com
64 stars 25 forks source link

Build Project with Delphi Tokyo failed #3

Closed EdmundPfundstein closed 2 years ago

EdmundPfundstein commented 2 years ago

Hallo Marlon Nardi, this is a great software and I use the version of Jens Borrisholt. To get your corrections and improvements, I tried to get the FMX project JsonToDelphiClass.dproj running with Delphi Tokyo.

Some issues I corrected for me:

  1. Search path I had to add ..\
  2. ToString(True) of TStringBuilder I changed to ToString().
  3. aJsonValue.AsType I changed to aJsonValue.Value
  4. local var name not supported I changed it.
  5. Pkg.Json.Visualizer.pas was missing, I get it from https://github.com/JensBorrisholt/Delphi-JsonToDelphiClass/tree/master/Components
  6. Pkg.Json.StubField was missing in uMainForm

Maybe you could correct this?

Greetings Edmund Pfundstein

marlonnardi commented 2 years ago

Fixed