Unless you write a custom converter, the structure of your class needs to match the structure of your JSON:
Class PFCNextWrapper
Public Property Data As PFCNext
End Class
Class PFCNext
Public Property Id As Integer
Public Property Domain As String
Public Property Patient_name As String
Public Property Patient_gender As String
Public Property Patient_image As String
Public Property Temperature As Integer
Public Property Duration As Integer
Public Property Weir_height As Integer
Public Property Session_rank As Integer
Public Property Next_session_rank As Integer
Public Property Next_session_date As NextSessionDate
End Class
Class NextSessionDate
Public Property [Date] As Date
Public Property Timezone_type As Integer
Public Property Timezone As String
End Class
You can then deserialize your JSON to the
PFCNextWrapper
type:
Dim serializer As New Web.Script.Serialization.JavaScriptSerializer()
Dim jsonResult As PFCNextWrapper = CType(serializer.Deserialize(jsonResponseText, GetType(PFCNextWrapper)), PFCNextWrapper)