Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
json-fwd.hh
1#pragma once
3
4#include <nlohmann/json_fwd.hpp>
5#include <type_traits>
6
7namespace nix {
8
9namespace json {
10
16template<typename T>
17struct avoids_null;
18
19template<typename T>
20struct is_integral_enum : std::false_type
21{};
22
23template<typename T>
25
26template<typename T = void, typename SFINAE = void>
28
29}
30
37using JSON = nlohmann::basic_json<
38 std::map,
39 std::vector,
40 std::string,
41 bool,
42 std::int64_t,
43 std::uint64_t,
44 double,
45 std::allocator,
47
48const JSON * get(const JSON & map, const std::string & key);
49
50JSON * get(JSON & map, const std::string & key);
51
60const JSON & valueAt(
61 const JSON & map,
62 const std::string & key);
63
64}
Definition json-fwd.hh:24
Definition json-fwd.hh:27
Definition json.hh:39
Definition json-fwd.hh:21