Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
value-to-json.hh File Reference
#include "nixexpr.hh"
#include "eval.hh"
#include <string>
#include <map>
#include <nlohmann/json_fwd.hpp>

Go to the source code of this file.

Functions

json nix::printValueAsJSON (EvalState &state, bool strict, Value &v, const PosIdx pos, NixStringContext &context, bool copyToStore)
 
void nix::printValueAsJSON (EvalState &state, bool strict, Value &v, const PosIdx pos, std::ostream &str, NixStringContext &context, bool copyToStore)
 
 nix::MakeError (JSONSerializationError, Error)