2014-07-04 13:34:15 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
2020-05-19 15:54:39 +01:00
|
|
|
|
2020-05-27 21:56:34 +01:00
|
|
|
#include "libexpr/eval.hh"
|
2014-07-04 13:34:15 +02:00
|
|
|
|
|
|
|
namespace nix {
|
|
|
|
|
|
|
|
MakeError(JSONParseError, EvalError)
|
|
|
|
|
2020-05-21 05:43:22 +01:00
|
|
|
void parseJSON(EvalState& state, const std::string& s, Value& v);
|
2014-07-04 13:34:15 +02:00
|
|
|
|
|
|
|
}
|