Exemplo n.º 1
0
        public override string ToString()
        {
            string text = "{";

            foreach (KeyValuePair <string, JSONNode> item in m_Dict)
            {
                if (text.Length > 2)
                {
                    text += ", ";
                }
                string text2 = text;
                text = text2 + "\"" + JSONNode.Escape(item.Key) + "\":" + item.Value.ToString();
            }
            return(text + "}");
        }
Exemplo n.º 2
0
        public override string ToString()
        {
            string text = "{";

            foreach (KeyValuePair <string, JSONNode> keyValuePair in this.m_Dict)
            {
                if (text.Length > 2)
                {
                    text += ", ";
                }
                string text2 = text;
                text = string.Concat(new string[]
                {
                    text2,
                    "\"",
                    JSONNode.Escape(keyValuePair.Key),
                    "\":",
                    keyValuePair.Value.ToString()
                });
            }
            text += "}";
            return(text);
        }
Exemplo n.º 3
0
 public override string ToString(string aPrefix)
 {
     return("\"" + JSONNode.Escape(m_Data) + "\"");
 }
Exemplo n.º 4
0
 public override string ToString()
 {
     return("\"" + JSONNode.Escape(this.m_Data) + "\"");
 }