Calibration Library 1.0.0
A C++ library for camera calibration and vision-related geometric transformations
Loading...
Searching...
No Matches
json.h File Reference
#include <array>
#include <boost/pfr/core.hpp>
#include <concepts>
#include <nlohmann/json.hpp>
#include <optional>
#include <string>
#include <string_view>
#include <type_traits>
Include dependency graph for json.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  calib::detail::is_optional< T >
 
struct  calib::detail::is_optional< std::optional< U > >
 

Namespaces

namespace  calib
 Linear multi-camera extrinsics initialisation (DLT)
 
namespace  calib::detail
 

Concepts

concept  calib::serializable_aggregate
 

Typedefs

template<class Opt >
using calib::detail::optional_value_t = typename std::decay_t< Opt >::value_type
 

Functions

std::string calib::detail::idx_key (std::size_t idx)
 
template<class T , std::enable_if_t< std::is_aggregate_v< T >, int > = 0>
void calib::to_json (nlohmann::json &j, const T &value)
 
template<class T , std::enable_if_t< std::is_aggregate_v< T >, int > = 0>
void calib::from_json (const nlohmann::json &j, T &value)
 

Variables

template<class T >
constexpr bool calib::detail::is_optional_v = is_optional<std::decay_t<T>>::value