How do I format the data from json file?

fahad kazi

New member
Apr 11, 2013
114
0
0
I am trying to improve my app experience and have some trouble doing it. I need to know how can I format the data from json file. Actually I want to have breaks in few lines. I cannot add any tags into json file so what options do I have?
 
You can read it with json.net and write it again. This library allows you to set a Formatting.Indented which sould be what you are looking for
 
Second for json.net. We've found it to be faster and more flexible than using a DataContractJsonSerializer.
 

Members online

Forum statistics

Threads
335,615
Messages
2,258,620
Members
428,741
Latest member
Hewill