How to set format of string for java.time.Instant using objectMapper?

One solution is to use jackson-modules-java8. Then you can add a JavaTimeModule to your object mapper: ObjectMapper objectMapper = new ObjectMapper(); JavaTimeModule module = new JavaTimeModule(); objectMapper.registerModule(module); By default the Instant is serialized as the epoch value (seconds and nanoseconds in a single number): {“createdDate”:1502713067.720000000} You can change that by setting in the object mapper: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)