Re: [jackson-user] Issue Parsing Custom(?) Date

2019-05-14 Thread Tatu Saloranta
On Sat, May 11, 2019 at 10:41 PM Richi Plana wrote: > > Unfortunately, if it is an invalid JSR310 date, that's not up for discussion. > The format is what it is. I just need to somehow get the parser to convert it > it some kind of timestamp object given the obvious format. If an > OffsetDateTi

Re: [jackson-user] Issue Parsing Custom(?) Date

2019-05-11 Thread Richi Plana
Unfortunately, if it is an invalid JSR310 date, that's not up for discussion. The format is what it is. I just need to somehow get the parser to convert it it some kind of timestamp object given the obvious format. If an OffsetDateTime is an invalid type for a timestamp without a timezone, I *c

Re: [jackson-user] Issue Parsing Custom(?) Date

2019-05-11 Thread Tatu Saloranta
On Sat, May 11, 2019 at 10:23 AM Richi Plana wrote: > > I used swagger-codegen to generate the stubs using the Feign library and > internally it uses Jackson. I'm having an issue parsing a date; getting the > following error: > >> Exception in thread "main" feign.FeignException: Cannot deseriali

[jackson-user] Issue Parsing Custom(?) Date

2019-05-11 Thread Richi Plana
I used swagger-codegen to generate the stubs using the Feign library and internally it uses Jackson. I'm having an issue parsing a date; getting the following error: Exception in thread "main" feign.FeignException: Cannot deserialize value > of type `java.time.OffsetDateTime` from String "2019-