Opening TObject using JSROOT

I am trying to access a root file from the server and loop over the Objects inside it on the client side, is there a method to access the list of TObject and their keys ?


I missed this topic three years ago - is it still actual?


Which port you were actually using for this keys?

Nasaka Smith

Hi Nasaka,

JSROOT able to read ROOT files from any http/https server disregard of any port numbers.
Original question was about objects listing in TFile, using JSROOT.
It is possible, after file is opened with JSROOT.OpenFile() function:

List of keys can be found in file.fKeys array.