#pragma once #include "nixexpr.hh" #include "eval.hh" #include #include namespace nix { class JSONPlaceholder; void printValueAsJSON(EvalState & state, bool strict, Value & v, const PosIdx pos, JSONPlaceholder & out, PathSet & context); void printValueAsJSON(EvalState & state, bool strict, Value & v, const PosIdx pos, std::ostream & str, PathSet & context); }