blob: fc8acec5440bf4a1b4213f73ad1d699280e30b49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#pragma once
#include "src/ground-atlas.hpp"
#include <nlohmann/json_fwd.hpp>
namespace floormat {
struct ground_info;
} // namespace floormat
namespace nlohmann {
template<>
struct adl_serializer<floormat::ground_def> final {
static void to_json(json& j, const floormat::ground_def& x);
static void from_json(const json& j, floormat::ground_def& x);
};
template<>
struct adl_serializer<std::shared_ptr<floormat::ground_atlas>> final {
static void to_json(json& j, const std::shared_ptr<const floormat::ground_atlas>& x);
static void from_json(const json& j, std::shared_ptr<floormat::ground_atlas>& x);
};
} // namespace nlohmann
|