Template Function proxsuite::serialization::saveToJSON
Defined in File archive.hpp
Function Documentation
-
template<typename T>
void proxsuite::serialization::saveToJSON(const T &object, const std::string &filename) Saves an object inside a JSON file.
- Template Parameters:
T – Type of the object to deserialize.
- Parameters:
object – [in] Object in which the loaded data are copied.
filename – [in] Name of the file containing the serialized data.