Skip to content

Instantly share code, notes, and snippets.

@darkoperator
Created February 4, 2014 11:32
Show Gist options
  • Select an option

  • Save darkoperator/8802101 to your computer and use it in GitHub Desktop.

Select an option

Save darkoperator/8802101 to your computer and use it in GitHub Desktop.
Use .Net 4 to deserialize a complex JSON response
[void][System.Reflection.Assembly]::LoadWithPartialName("System.Web.Extensions")
$Serializer = New-Object System.Web.Script.Serialization.JavaScriptSerializer
$json = $server_reply.Content
$Deserialized = $Serializer.DeserializeObject($json)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment