You are not logged in.
Hi Arnaud, since 3Month or so JSON Output write null for TDateTime if Date is 0
Before it wrotes a empty String "" in JSON Output.
Is it possible to enable old Feature OnDemand ?
Because we have old SynCrossplatform Clients throwing exception implicit converting Variant Null to String
For new Clients i added this to SynCrossplatformJSON:
function Iso8601ToDateTime(const Value: Variant): TDateTime; overload;
function Iso8601ToDateTime(const Value: string): TDateTime; overload;
Last edited by itSDS (Yesterday 12:17:02)
Rad Studio 12.3 Athens / 13.0 Ganymede
Offline
I understand your concern.
Please try with
https://github.com/synopse/mORMot2/commit/1c9175125
Sorry for the breaking change.
It was a user request, and I did not think about breaking legacy clients.
Online
Looks good, TYVM
one thing: in mormot.ui.pdf the unit mormot.crypt.other, is missing !
Rad Studio 12.3 Athens / 13.0 Ganymede
Offline
One Question where can i set this Option globally ?
Rad Studio 12.3 Athens / 13.0 Ganymede
Offline