about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/json-to-value.hh
blob: 5b67b350646e2cafca64514153192cca4f6d6b8d (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 string& s, Value& v);

}