You are not logged in.
In the previous version the StatsAsJson method returns:
"LastTime": {
"MicroSec": 2644,
"Text": "2.64ms"
},
"MinimalTime": {
"MicroSec": 7,
"Text": "7us"
},
"AverageTime": {
"MicroSec": 18995,
"Text": "18.99ms"
},
In the new version (missing "Text"):
"LastTime": {
"MicroSec": 58
},
"MinimalTime": {
"MicroSec": 11
},
"AverageTime": {
"MicroSec": 1054
},
"MaximalTime": {
"MicroSec": 121127
},...
Offline
Property Text has type shortstring
procedure TJSONSerializer.WriteObject(Value: TObject; Options: TTextWriterWriteObjectOptions);
...
procedure WriteProp(P: PPropInfo);
...
Kind := P^.PropType^.Kind; <- for property "Text" Kind is tkString. And tkString is not handled in the code below
case Kind of
Offline
You are right- this was a regression from previous behavior.
Please check https://synopse.info/fossil/info/13e36ea96e
Thanks for the feedback!
Offline