private JSONParseItem GetPreviousChild(JSONParseItem child, JSONParseItemList children)
        {
            int index = (child != null) ? children.IndexOf(child) : -1;

            if (index > 0)
            {
                return(children[index - 1]);
            }

            return(null);
        }
        private JSONParseItem GetNextChild(JSONParseItem child, JSONParseItemList children)
        {
            int index = (child != null) ? children.IndexOf(child) : -1;

            if (index != -1 && index + 1 < children.Count)
            {
                return(children[index + 1]);
            }

            return(null);
        }