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

#include <string>

#include "eval.hh"

namespace nix {

MakeError(JSONParseError, EvalError)

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

}