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 saw the news of timestamp extension support on version 0.9.0 and tried it. But I still can't (de)serialize timestamps with the 0.9.3 version. Is it supported also when using Jackson?
I did like this and the "Instant" was serialized as a map of string keys "epochSecond"/"nano" and uint32 values.
private static class A {
@JsonProperty(index = 0)
Instant instant = Instant.now();
}
....
A a = new A();
ObjectMapper objectMapper = new MessagePackMapper();
byte[] bytes = objectMapper.writeValueAsBytes(a);