Hi,
How can i get the type of tjsonvalue, for know if a tjsonvalue is a tjsonarray or tjsonobject or tjsonstring ?
I try use this syntax like in vcl with system.json:
function TMyObject.GetTypeJS(tjs: TJSONValue): String;
begin
if tjs is TJSONObject then result:='object';
if tjs is TJSONArray then result:='array';
if tjs is TJSONString then result:='string';
end;
But no operator is seems not run with weblib.json
How can i make this ?
Thanks