Browse Source

* Fix changed TJSJON.Parse definition

michael 7 years ago
parent
commit
5b1f8f55dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl/hotreloadclient.pas

+ 1 - 1
packages/rtl/hotreloadclient.pas

@@ -249,7 +249,7 @@ begin
   if Options.log then
     console.warn('Status received');
   try
-    Data:=TJSJSON.parse(FLastReq.responseText);
+    Data:=TJSJSON.parseObject(FLastReq.responseText);
     HandleMessage(Data);
   except
     console.error('Error parsing JSON status text: '+FLastReq.responseText);