about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/json-to-value.hh
blob: 7f258f2137baa7c4826bd162955247320c2ace43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include <string>

#include "libexpr/eval.hh"

namespace nix {

MakeError(JSONParseError, EvalError);

void parseJSON(EvalState& state, const std::string& s, Value& v);

}  // namespace nix