Calibration Library 1.0.0
A C++ library for camera calibration and vision-related geometric transformations
Loading...
Searching...
No Matches
calib::serializable_aggregate Concept Reference

#include <json.h>

Concept definition

template<class T>
concept calib::serializable_aggregate = std::is_aggregate_v<T> && requires(T a, nlohmann::json j) {
{ to_json(j, a) } -> std::same_as<void>;
{ from_json(j, a) } -> std::same_as<void>;
}
void from_json(const nlohmann::json &j, T &value)
Definition json.h:89
void to_json(nlohmann::json &j, const T &value)
Definition json.h:49

Detailed Description

Definition at line 23 of file json.h.