I'm following the example in the pdf to make an https json request from my web page using the TWebHttpRequest component.
In the response handler event I have the following code
procedure TForm1.WebHttpRequest1Response(Sender: TObject; AResponse: string);
var
JS: TJSON;
JA: TJSONArray;
JO: TJSONObject;
s: string;
begin
JS := TJSON.Create;
...
This fails the Pas2JS compilation with error
[Error] uViewer_Main.pas(73): identifier not found "TJSON"
What is happening here ?