26#include "meta/runtime/json_serializer.hpp"
36 using nlohmann::adl_serializer;
37 using nlohmann::basic_json;
38 using nlohmann::json_pointer;
39 using json =
basic_json<std::map, std::vector, std::string, bool, std::int64_t, std::uint64_t, double,
40 std::allocator, meta::runtime::json_serializer>;
44 {
json.
get<T>() } -> std::same_as<T>;
namespace for Niels Lohmann
Definition json.hpp:19415
auto get() const noexcept(noexcept(std::declval< const basic_json_t & >().template get_impl< ValueType >(detail::priority_tag< 4 > {}))) -> decltype(std::declval< const basic_json_t & >().template get_impl< ValueType >(detail::priority_tag< 4 > {}))
get a (pointer) value (explicit)
Definition json.hpp:21060
ValueType & get_to(ValueType &v) const noexcept(noexcept(JSONSerializer< ValueType >::from_json(std::declval< const basic_json_t & >(), v)))
get a value (explicit)
Definition json.hpp:21114
Definition json_compat.hpp:43