diff options
Diffstat (limited to 'src/libexpr/json-to-value.hh')
-rw-r--r-- | src/libexpr/json-to-value.hh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/libexpr/json-to-value.hh b/src/libexpr/json-to-value.hh new file mode 100644 index 000000000..33f35b16c --- /dev/null +++ b/src/libexpr/json-to-value.hh @@ -0,0 +1,13 @@ +#pragma once + +#include "eval.hh" + +#include <string> + +namespace nix { + +MakeError(JSONParseError, EvalError) + +void parseJSON(EvalState & state, const string & s, Value & v); + +} |