You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I checked source code. The lookuptable was created only for CreditData. Because of that Response is not parsing
Simple example:
var r = fastJSON.JSON.ToObject<Response<CreditData>>("{\"data \":{\"Credit \":10},\"Error\":\"noerror\"}");
Debug.Assert(r.Error != null);
Debug.Assert(r.data != null);
public class Response<T>
{
public T data { get; set; }
public string Error { get; set; }
}
public class CreditData
{
public int Credit { get; set; }
}
The text was updated successfully, but these errors were encountered:
I checked source code. The lookuptable was created only for CreditData. Because of that Response is not parsing
Simple example:
The text was updated successfully, but these errors were encountered: