Closed GoogleCodeExporter closed 9 years ago
I solved this issue with this changes:
var
...
LV:Variant;
...
if IJSONData.Ancestor[Member].DataType <> dtNull then
begin
LV := IJSONData.Ancestor[Member].AsVariant;
if (RType = TypeInfo(TTime)) then
SetValue<Typ>(Data, MemberValue, Member, TValue.From<TTime>(StrToTimeDef(VarToStr(LV), EncodeTime(0, 0,0,0))))
else
SetValue<Typ>(Data, MemberValue, Member, TValue.From<TDateTime>(LV))
end
Original comment by isigest...@gmail.com
on 4 Oct 2014 at 10:45
[deleted comment]
This issue was closed by revision r78.
Original comment by onryld...@gmail.com
on 6 Oct 2014 at 9:21
Original issue reported on code.google.com by
isigest...@gmail.com
on 4 Oct 2014 at 10:38