#1 2015-07-29 08:58:57

paolo
Member
Registered: 2015-07-29
Posts: 2

Bug on SynCrossPlatformJSON?

I'm using last mormot download to use your nice Json unit, but I'm having some problems that prevent me from using it, ie AV, random string inside my object and so on...

The smallest code that (consistently) shows some problems is the following:

uses SynCrossPlatformJSON;

procedure TForm1.Button1Click(Sender: TObject);
var j: variant;
begin
    j:= JSONVariant('{}');

    ShowMessage(j); // It shows "}" and not "{}" as expected!
end;

...Can you help me? I'm using Delphi 7

Offline

#2 2015-08-04 07:06:53

paolo
Member
Registered: 2015-07-29
Posts: 2

Re: Bug on SynCrossPlatformJSON?

AB, have you had the time to try to reproduce the problem?

Or have I wrote the post in the wrong thread?

Bye! :-)

Offline

#3 2015-08-04 09:31:31

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,182
Website

Re: Bug on SynCrossPlatformJSON?

Should be fixed by http://synopse.info/fossil/info/95385d3c99

Sorry for the delay.

Offline

Board footer

Powered by FluxBB