aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lua/json.h
blob: eead596756abc12bc92d610c016706cbecef420f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

class TLuaStateHolder;

namespace NJson {
    class TJsonValue;
}

namespace NLua {
    // Try to push TJsonValue to lua stack.
    // Lua stack state is undefined if there's not enough memory to grow stack appropriately
    // Exception is thrown in this case
    void PushJsonValue(TLuaStateHolder* state, const NJson::TJsonValue& json);
}