about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/json-to-value.hh
blob: 041a4c59659147b6224fd82e17cdff0f85414917 (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);

}