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









                     
                      
 

                                                         
 

                                                      
 
 
#pragma once

#include "nixexpr.hh"
#include "eval.hh"

#include <string>
#include <map>

namespace nix {

class JSONPlaceholder;

void printValueAsJSON(EvalState & state, bool strict,
    Value & v, JSONPlaceholder & out, PathSet & context);

void printValueAsJSON(EvalState & state, bool strict,
    Value & v, std::ostream & str, PathSet & context);

}