В классе VB.Net у меня есть данные JSON в виде строки.Я хочу преобразовать их в объект класса LINQ.
`
'definition
Dim js As New System.Web.Script.Serialization.JavaScriptSerializer
'return the data
Dim rawdata = js.DeserializeObject(strVal)
' i have this object , generated by LINQ
dim oCustomForm= new CustomForm
'what i need is to Deserialize the string INTO that object
'i tried this....but :(
'Dim oCustomForm As List(Of CustomForm) = CType(rawdata, List(Of CustomForm))
'Dim oCustomForm As new CustomForm = rawdata
`
Спасибо ....