Open caowm opened 4 years ago
This is demo generated TRootClass:
TRootClass = class private FItems: TArray<TItemClass>; public property Items: TArray<TItemClass> read FItems write FItems; destructor Destroy; override; function ToJsonString: string; class function FromJsonString(AJsonString: string): TRootClass; end;
When calling TRootClass.FromJsonString, it will throw exception.
Have a look at my frok
https://github.com/JensBorrisholt/Delphi-JsonToDelphiClass
I have continued the development. And I'm sure it can handle your JSON
This is demo generated TRootClass:
When calling TRootClass.FromJsonString, it will throw exception.