Replies: 2 comments
-
Just to quickly answer my own question. The example in the readme (using a project local |
Beta Was this translation helpful? Give feedback.
0 replies
-
Would it make sense to add a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I have been googling around looking for at simple way to configure the encoder to log structured objects containing
java.time.Instant
fields as strings.For instance if I log like:
any
java.time.Instant
fields in theevent
object are logged as decimal value like1724834916.765
, and I would prefer an easier human readable form, like for instance"2024-08-28T12:41:30.459867Z"
.Can this be done without a custom Decorator?
In a project that uses the ObjectMapper this can be achieved by configuring like:
I did search google / issues / PRs / discussions without finding anything.
Beta Was this translation helpful? Give feedback.
All reactions