I have a web service that gives me a json with this format:
In case of positive login: ["67", 1];
In the negative: ["fail", "Data entered for the user is incorrect."]
How to properly deserialize?
I have tried :
Dim ser As New JavaScriptSerializer()
Dim result = ser.Deserialize(Of LoginResult)(wsResult.ToString())
Public Class LoginResult
Public Property idcliente As String
Public Property idutente As String
End Class