Accessing a TMap class #1069
-
Greetings all, I am trying to access some data in a root file which is under the form of a TMap (named "parameters"). When trying to access it with The class does however appear in Is there a specific way to grab data from this structure or no with the library? Thank you kindly. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
"Unknown" means it couldn't find StreamerInfo for this type or otherwise couldn't get the information about how to deserialize it. (The type names, e.g. in What does TFile::ShowStreamerInfo show you in ROOT? Is the |
Beta Was this translation helpful? Give feedback.
You used
to write the
parameters_
TMap in directoryd
with name"parameters"
. Ifparameters_
were aTObjString
, I think you would be able to write that just as easily.I just checked, and yes you can:
So if instead of writing
"hello"
, you wrote a JSON document, you'd be able to load that as…