Hi There!
I’m kinda clueless:
i’ve got this class to send a reply to the server based on a previously given request:
[Route("/system/clientreply")]
public class ClientReply : IReturnVoid
{
public string TmpQueue { get; set; }
public object Object { get; set; }
}
Client replies by putting content in the Object class, for example:
public class Engine
{
public string Id { get; set; }
public string Name { get; set; }
public DateTime? Ts { get; set; }
}
The server knows the type of answers its getting, so it deserialises it back.
Now comes the strange part. When using obj.SerializeAndFormat e.g., i get a neat unixtimems in the Ts field, but when sent to the server, there is NULL parsed. Requestlogs also show NULL.
What could this be?
Thanks!