aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/json-to-value.hh
blob: 3c8fa5cc00a14b1160d6090f635ee57cbdf48f29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once
///@file

#include "error.hh"

#include <string>

namespace nix {

class EvalState;
struct Value;

MakeError(JSONParseError, Error);

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

}