RTC Forums
November 24, 2024, 06:49:06 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: RealThinClient SDK v6.0 beta JSON error  (Read 4310 times)
Christen
RTC Expired
*
Posts: 9


« on: August 10, 2012, 09:28:48 AM »

Hello,
In file rtcInfo.pas there is an error in function TRtcByteStream.to_JSON:

Code:

begin
  if RTC_JSON_GenTypedByteStream then
    Result.Add(RTC_JSON_ByteStreamStr)
  else
    Result.Add('""');
  Result.Add(json_writeByteStream(FValue));
  Result.Add('"');
  end;

Should be:

begin
  if RTC_JSON_GenTypedByteStream then
    Result.Add(RTC_JSON_ByteStreamStr)
  else
    Result.Add('"');
  Result.Add(json_writeByteStream(FValue));
  Result.Add('"');
  end;

Best regards
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 on: August 10, 2012, 10:26:13 AM »

Thank you very much for reporting this bug.

I've fixed this now, the fix will be included in RTC SDK v6.0 beta 3 and later.

PS. The same bug was in the TRtcByteArray.to_JSON method.

Best Regards,
Danijel Tkalcec
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.024 seconds with 17 queries.