Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::json::adl_serializer< T, void > Struct Template Reference

Static Public Member Functions

template<typename Json>
requires requires(Json & j, T value) { detail::call_to_json(j, value); }
static void to_json (Json &j, const T &value)
template<typename Json>
requires requires(Json && j, T & value) { detail::call_from_json(std::forward<Json>(j), value); }
static void from_json (Json &&j, T &value)
template<typename Json>
requires requires(Json & j, T value) { T::to_json(j, value); }
static void to_json (Json &j, const T &value)
template<typename Json>
requires requires(Json && j) { { T::from_json(std::forward<Json>(j)) } -> std::same_as<T>; }
static auto from_json (Json &&j)
template<typename Json>
requires IntegralEnum<T>
static void to_json (Json &&json, const T &value)
template<typename Json>
requires IntegralEnum<T>
static void from_json (const Json &json, T &value)

The documentation for this struct was generated from the following file: