Add Json Doc

This commit is contained in:
2025-12-22 14:20:20 -06:00
parent c37b26af14
commit 40205a928d
7 changed files with 63 additions and 8 deletions

View File

@@ -2540,6 +2540,8 @@ class GC {
void LoadPlugin(GC* gc, TRootEnvironment* env, Tesses::Framework::Filesystem::VFSPath sharedObjectPath);
std::string Json_Encode(TObject o,bool indent=false);
TObject Json_Decode(GCList ls,std::string str);
std::string Json_DocEncode(TObject o,bool indent);
TObject Json_DocDecode(GCList ls,std::string str);
//DO NOT USE DIRECTLY
class SharedPtrTObject {
GCList* ls;