28 NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_PASTE(NLOHMANN_JSON_FROM,
name,
radius,
center));
29 assert(nlohmann_json_j.contains(
"degrees"));
30 if (
const auto& deg = nlohmann_json_j[
"degrees"]; deg.is_number()) {
31 nlohmann_json_t.
degrees = std::array<double, 2>{{0.0, double(deg)}};
33 nlohmann_json_t.
degrees = deg.get<std::array<double, 2>>();