#1 2015-10-08 17:35:31

Andy23
Member
Registered: 2015-06-20
Posts: 8

Invalid JSON for TGUID Result

I have a Service defined which contains a simple function "GetGuid: TGUID".

This is the result:

{"Result":"BDB06275-9D94-46CF-B699-52FF890F9342",}

This JSON is invalid due to the additional comma.
Is this a Bug or is TGUID not supported properly?

Thanks,
Andreas

Offline

#2 2015-10-09 09:30:04

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

Re: Invalid JSON for TGUID Result

There was a nasty issue with JSON serialization of custom records, including TGUID.

Should be fixed by http://synopse.info/fossil/info/e9631f6218

Thanks for the feedback.

Offline

#3 2015-10-09 09:46:29

Andy23
Member
Registered: 2015-06-20
Posts: 8

Re: Invalid JSON for TGUID Result

Thanks! It works!

Offline

Board footer

Powered by FluxBB