load_any
- nrv.backend.load_any(data, **kwargs)[source]
loads any type of NRV object from a json file or a dictionary generated with NRV_class.save
- Parameters:
data (str, dict, nrv_class) –
data from which the object should be generated:
if str, data will be loaded from the corresponding json file
if dict, data will be loaded from a dictionnary
if nrv_class, same object will be returned
**kwargs – additionnal argument to use for the loading
- Returns:
nrv_obj
- Return type:
any (NRV_class)