Beispiel #1
0
        protected void tryInitObject()
        {
            if (_object == null)
            {
                _object = new OObject();
            }

            if (_type != ONodeType.Object)
            {
                _type = ONodeType.Object;
            }
        }
Beispiel #2
0
        protected void shiftToArray()
        {
            tryInitArray();

            if (_object != null)
            {
                foreach (ONode n1 in _object.members.Values)
                {
                    _array.add(n1);
                }

                _object.clear();
                _object = null;
            }
        }