You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jsonschema2pojo-users
Hi All,
I think there is no support for @JsonFormat in org.jsonschema2pojo project. If it is already present then please let me know how can I achieve that but as far as I know there is PR pending from July 2015 on this and no progress.
A message to creators, please let me know if I can contribute if the annotation support is not present in the library.
Regards, Madhur Kamalapurkar
Joe Littlejohn
unread,
Sep 6, 2016, 12:54:04 PM9/6/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jsonschema...@googlegroups.com
Could you explain what you are trying to do with @JsonFormat?
If you need dates to be output with a certain pattern by your serializer, you can configure the Jackson to do this yourself.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jsonschema2pojo-users
Hi Joe,
Thanks for the response. Yes, I tried the Jackson way but I wanted detailing at field level so I asked this question. I want JsonFormat to format the dates. As of now Jackson returns in epoch timestamp miliseconds.
Thanks, Madhur
Madhur Kamalapurkar
unread,
Sep 8, 2016, 4:23:32 PM9/8/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jsonschema2pojo-users
Hi Joe,
To add to the above, I'm using Spring 4 and Jackson 2 and there seems to be some issue with the overriding the date format and object mapper. So, I needed this support. Let me know your thoughts on this.