json.h 356 B

1234567891011121314
  1. #pragma once
  2. class TLuaStateHolder;
  3. namespace NJson {
  4. class TJsonValue;
  5. }
  6. namespace NLua {
  7. // Try to push TJsonValue to lua stack.
  8. // Lua stack state is undefined if there's not enough memory to grow stack appropriately
  9. // Exception is thrown in this case
  10. void PushJsonValue(TLuaStateHolder* state, const NJson::TJsonValue& json);
  11. }