#pragma once #include "rapidjson/document.h" #include "rapidjson/writer.h" #include "rapidjson/stringbuffer.h" template void EncodeJSONTable( SQTable* table, rapidjson::GenericValue, rapidjson::MemoryPoolAllocator>* obj, rapidjson::MemoryPoolAllocator& allocator); template void DecodeJsonTable(HSquirrelVM* sqvm, rapidjson::GenericValue, rapidjson::MemoryPoolAllocator>* obj);