blob: f8f3110bfd2feea26ae40f046e02e6f314e99f06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include "src/wall-atlas.hpp"
#include <memory>
#include <nlohmann/json_fwd.hpp>
namespace nlohmann {
template<>
struct adl_serializer<std::shared_ptr<floormat::wall_atlas>>
{
static void to_json(json& j, const std::shared_ptr<const floormat::wall_atlas>& x);
static void from_json(const json& j, std::shared_ptr<floormat::wall_atlas>& x);
};
} // namespace nlohmann
namespace floormat::Serialize::wall_test {
void read_atlas_header(const nlohmann::json& j, wall_atlas_def& val);
} // namespace floormat::Serialize::wall_test
|