PKGeorgiev / Delphi-JsonToDelphiClass

Generates Delphi Classes based on JSON string (Json To Delphi Class Generator / JSON Data Binding Tool)
MIT License
236 stars 122 forks source link

Two issues #2

Open tullebay opened 8 years ago

tullebay commented 8 years ago

1) tool can identify date value and makes it TDate type, but after calling FromJSONSTring, the value is 0 while the value in original JSON is “2016-0102”

2) maps all the numbers to Extended instead of Double

PKGeorgiev commented 8 years ago

@tullebay, "2016-0102" is not valid date. It should be "2016-01-02". Is this a mistake in your description?