about summary refs log blame commit diff
path: root/third_party/nix/src/libexpr/json-to-value.hh
blob: 7f258f2137baa7c4826bd162955247320c2ace43 (plain) (tree)
1
2
3
4
5
6
7
8
9

            
                 
 
                          


               
                                     
 
                                                                 
 
                   
#pragma once

#include <string>

#include "libexpr/eval.hh"

namespace nix {

MakeError(JSONParseError, EvalError);

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

}  // namespace nix