2013-11-19 01:03:11 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "nixexpr.hh"
|
|
|
|
#include "eval.hh"
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <map>
|
|
|
|
|
|
|
|
namespace nix {
|
|
|
|
|
2016-08-26 19:55:55 +03:00
|
|
|
class JSONPlaceholder;
|
2013-11-19 01:33:06 +02:00
|
|
|
|
2016-08-26 19:55:55 +03:00
|
|
|
void printValueAsJSON(EvalState & state, bool strict,
|
2021-10-26 00:13:35 +03:00
|
|
|
Value & v, const Pos & pos, JSONPlaceholder & out, PathSet & context);
|
2013-11-19 01:33:06 +02:00
|
|
|
|
2016-08-26 19:55:55 +03:00
|
|
|
void printValueAsJSON(EvalState & state, bool strict,
|
2021-10-26 00:13:35 +03:00
|
|
|
Value & v, const Pos & pos, std::ostream & str, PathSet & context);
|
2013-11-19 01:33:06 +02:00
|
|
|
|
2013-11-19 01:03:11 +02:00
|
|
|
}
|