#1 Is it bug or feature?

open
nobody
5
2011-06-20
2011-06-20
Anonymous
No

{
Dictionary<string, object> object1 = new Dictionary<string, object>();
object1.Add("number", 234);
List<object> list = new List<object>();
object1.Add("array", list);
{
Dictionary<string, object> dictionary = new Dictionary<string, object>();
dictionary.Add("key", "Value");
dictionary.Add("flag", true);
list.Add(dictionary);
}
string json1 = JSON.Instance.Stringify(object1);
object object2 = JSON.Instance.Parse(json1);
string json2 = JSON.Instance.Stringify(object2);
if (json1 != json2)
{
Console.WriteLine(json1);
Console.WriteLine(json2);
throw new Exception();
}
}

Discussion

  • 686d5v <a href="http://qivlnysqsoht.com/">qivlnysqsoht</a>, [url=http://uegvkiuyrqeo.com/]uegvkiuyrqeo[/url], [link=http://hcvjtqvdzsji.com/]hcvjtqvdzsji[/link], http://znapcifjvxyx.com/