Exemplo n.º 1
0
        private static void Print(KeyValueNode jsonNode)
        {
            Debug.WriteLine(string.Format("{0}:{1}", jsonNode.GetType(), jsonNode));

            if (jsonNode.Children != null)
            {
                Debug.Indent();
                foreach (KeyValueNode childJsonNode in jsonNode.Children)
                {
                    Print(childJsonNode);
                }
                Debug.Unindent();
            }
        }