public static JsonObj Parese(string text, JsonObjCreateHandler JsonObjCreate, object obj) { if (jsontool == null) { jsontool = new JsonTool(); } SymbolTable symbol = Lexer.GetSymbolTable(text); jsontool.Init(JsonObjCreate, obj); return(jsontool.ParseTable(symbol)); }
public void Init(JsonObjCreateHandler jsonobjcreate, object obj) { JsonObjCreate = jsonobjcreate; JsonObj = obj; }