Skip to main content
3 of 5
added 50 characters in body
Edgar
  • 4.5k
  • 5
  • 44
  • 64

Use the DataContractJsonSerializer class: MSDN.

It's better than JavaScriptSerializer because it can also safely deserialize objects from a JSON string.

Example: MSDN.

Edgar
  • 4.5k
  • 5
  • 44
  • 64