mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
parent
e82951fe23
commit
beaf3e90af
6 changed files with 217 additions and 0 deletions
13
src/libexpr/json-to-value.hh
Normal file
13
src/libexpr/json-to-value.hh
Normal file
|
@ -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);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue