blob: 8192236732b459f7095c1a2bc19b4518c9e3a1a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include <Corrade/Containers/String.h>
#include <nlohmann/json_fwd.hpp>
namespace nlohmann {
template<>
struct adl_serializer<Corrade::Containers::String> {
static void to_json(json& j, const Corrade::Containers::String& val);
static void from_json(const json& j, Corrade::Containers::String& val);
};
template<>
struct adl_serializer<Corrade::Containers::StringView> {
static void to_json(json& j, Corrade::Containers::StringView val);
};
} // namespace nlohmann
|