#include <vector>
#include <optional>
#include <string>
#include <nlohmann/json.hpp>
#include "CoreMath.h"
#include "common_structs.h"
Go to the source code of this file.
|
| template<typename T> |
| void | get_optional_to (const nlohmann::json &j, const char *key, std::optional< T > &opt_val) |
| |
| template<typename T> |
| void | set_optional_from (nlohmann::json &j, const char *key, const std::optional< T > &opt_val) |
| |
◆ get_optional_to()
template<typename T>
| void get_optional_to |
( |
const nlohmann::json & | j, |
|
|
const char * | key, |
|
|
std::optional< T > & | opt_val ) |
◆ set_optional_from()
template<typename T>
| void set_optional_from |
( |
nlohmann::json & | j, |
|
|
const char * | key, |
|
|
const std::optional< T > & | opt_val ) |