Nix  2.93.0-dev
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
value-to-json.hh
Go to the documentation of this file.
1#pragma once
3
5#include "lix/libexpr/eval.hh"
6#include "lix/libutil/json-fwd.hh"
7
8#include <string>
9#include <map>
10
11namespace nix {
12
13JSON printValueAsJSON(EvalState & state, bool strict,
14 Value & v, const PosIdx pos, NixStringContext & context, bool copyToStore = true);
15
16void printValueAsJSON(EvalState & state, bool strict,
17 Value & v, const PosIdx pos, std::ostream & str, NixStringContext & context, bool copyToStore = true);
18
19}