how to Serialize a Dictionary object to JSON string ? RRS feed

  • Question

  • Hi,

    i have a dictionary object - in which value of a key could either  bea string , integer  another dictionary object or List of mentioned types.

    i need to serialize this object to json string ... (the key would be same as dictionary's key and value for a given key would be according to given type )

    i could do it myself by enumerating the dictionary but i wanted to know if there is any easy way already available for doing this ?



    Tuesday, January 28, 2014 2:35 PM


All replies