NewObject() static private method

static private NewObject ( JsonObject parent ) : JsonObject
parent JsonObject
return JsonObject
Esempio n. 1
0
        public void StartObject()
        {
            var obj = JsonObject.NewObject(BeingBuilt);

            if (BeingBuilt == null)
            {
                BeingBuilt = obj;
            }
            else
            {
                BeingBuilt.Put(obj);
                BeingBuilt = obj;
            }
        }