Posted on: 10/6/2014 7:51:36 AM | Views : 425

Hi guys, i used following code to Deserialize my JSON text.
I found that all \n is no longer existed in dict("message"). How can i remain all of them? please advise. TQ
Dim jss = New JavaScriptSerializer() Dim dict As Dictionary(Of String, Object) = jss.Deserialize(Of Dictionary(Of String, Object))(JSONtext) JSONtext
{ "id": "1234567890", "type": "photo", "message": "Apple iPhone 6 Plus 16GB Original Set Apple Ready Stock\n16GB : RM4299 Gold\n\nContact us : 0136110110 / 0139229110\nLocation : 3rd Miles Square , Old Klang Road , KL\n\n- 5.5inch LED-backlit IPS LCD, capacitive touchscreen, 16M colors\n- Dual-core 1.4 GHz Cyclone (ARM v8-based) Apple A8\n-" }

Go to the complete details ...