Beispiel #1
0
        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));
        }
Beispiel #2
0
 public void Init(JsonObjCreateHandler jsonobjcreate, object obj)
 {
     JsonObjCreate = jsonobjcreate;
     JsonObj       = obj;
 }