JSON string to struct

Hello @f9daq,

AFAIK, the TBufferJSON::FromJSON() function relies on TClass::GetClass() to get the layout information of struct Example. This, in turn, requires access to reflection provided by the interpreter.

Therefore, in the compiled version of your program, the TClass::GetClass() function returns NULL.

Cheers,
J.