[Solved] What is the VB.Net equavilent of the following
Very similar to the generated code, but there are some changes. I don’t know what the generator was doing with Key, and I don’t think it’s necessary to bracket the Error keyword in this context. Dim Result = JsonConvert.DeserializeObject(OF T)(parsed(“result”).ToString(), _ New JsonSerializerSettings With { .Error = AddressOf HandleDeserializationError} ) Protected Sub HandleDeserializationError(sender As Object, … Read more