RTC Forums

Subscription => Support => Topic started by: Christen on August 10, 2012, 09:28:48 AM



Title: RealThinClient SDK v6.0 beta JSON error
Post by: Christen 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


Title: Re: RealThinClient SDK v6.0 beta JSON error
Post by: D.Tkalcec (RTC) 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