Files
lix/lix/libutil/json.hh
T
eldritch horrors 19d7c8352e treewide: add nix::JSON
this will become a proper specialization of `nlohmann::basic_json` soon.
specialing basic_json will let us get rid of our `adl_serializer` hacks,
and it'll open the door to better enum serializing behavior without also
forcing all those who use lix as a library to set certain defines (which
may not even be possible depending on how those users use json already).

Change-Id: I5228d2b9df581a189552c993363207cfbd20f445
2025-03-23 20:42:39 +00:00

6 lines
157 B
C++

#pragma once
///@file Lix-specific JSON handling.
#include "lix/libutil/json-fwd.hh" // IWYU pragma: keep
#include <nlohmann/json.hpp> // IWYU pragma: keep