You are not logged in.
Pages: 1
Here is a really simple code in mORMot1 is OK.
v := TDocVariant.NewJSON('{"U":"ad","P":"12"}');
s := v.U; // --- property not found here with mORMot2
---------------
Regards,
YANG
Last edited by delphi_911 (2024-05-13 00:32:13)
Offline
Which IDE are you using?
There is a bug in FPC 3.2.2.
As stated in the documentation: Note that FPC 3.2.2 has a regression with variant late binding - use FPC 3.2.2 fixes branch instead.
And several places in the forum.
Offline
I'm using lazarus3.2+fpc3.2.2,I will try the fixes branch,Thanks!
Last edited by delphi_911 (2024-05-12 18:35:13)
Offline
Pages: 1