Template Function proxsuite::serialization::loadFromJSON

Function Documentation

template<typename T>
inline void proxsuite::serialization::loadFromJSON(T &object, const std::string &filename)

Loads an object from a JSON file.

Template Parameters:

T – Type of the object to deserialize.

Parameters:
  • object[out] Object in which the loaded data are copied.

  • filename[in] Name of the file containing the serialized data.