ToJSON系统

TOJSON (){{JSON}

转换Api编号对象为JSON对象

参数:

这种方法没有任何参数

返回时间 :

类型
JSON系统

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvaro编号=ODocument.Create编号varjson=O数Var O编号JSON=api.FromJSON(json)wrnlvl=0slvl <2++nlvlvarodeptes=api.Createleoclipse.adTextoParagraph.SetNumbering(oNumLvl)!oDocument.Push(oParagraph)!varstype =O数从JSON.GetClassTypeodeptes = Api.Createlementsodclips类型=+sypeoDocument.Push(oParagraph)!builder.SaveFile("docx", "ToJSON.docx")!builder.CloseFile();

结果文档