You are not logged in.
Pages: 1
Delphi 11.3, mORMot2 GitHub commit 5225 (da76642)
The word "false" is displayed incorrectly in the output. It concerns only the case "false" and not "true". All other data types are also displayed correctly. The string for "false" has the hex value "05 66 61 6C 73", but should have "66 61 6C 73 65". You can reproduce it with following test source code:
var
p: PDocVariantData;
begin
p := _Safe(_Json('{"EnableCORS":false}'));
ShowMessage(Utf8ToString(FormatUtf8('%: %', [p.Names[0], p.Value[0]])));
With best regards
Thomas
Offline
Offline
Pages: 1