We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'date' become '0001-01-01T00:00:00' when use below code
private class TestClass { public TestDate Date1 { get; set; } } private class TestDate { public DateTime date; } private static Serializer serializer_ = new Serializer(new PropertiesExtractor(), options: GroBufOptions.WriteEmptyObjects); TestClass cls = new TestClass() { Date1 = new TestDate() { date = DateTime.Now } }; byte[] data = serializer_.Serialize(cls); var q = serializer_.Deserialize<TestClass>(data);//q.Date1.date become '0001-01-01T00:00:00'
I appreciate your help. lyk
The text was updated successfully, but these errors were encountered:
No branches or pull requests
'date' become '0001-01-01T00:00:00' when use below code
I appreciate your help.
lyk
The text was updated successfully, but these errors were encountered: