How to handle localized decimal separator with Jackson

63 views
Skip to first unread message

Tobias Preuss

unread,
Nov 4, 2014, 6:11:02 PM11/4/14
to jackso...@googlegroups.com
Hello.

I am trying to process a .json file with geo-coordinates which are served with a comma as the decimal separator as common in Germany.

Example:
{
    "name": "product 23"
    "latitude": "52,48264",
    "longitude": "13,31822"
}


I posted my question here before: http://stackoverflow.com/questions/26725278/how-to-handle-localized-decimal-separator-with-jackson

How can I tell Jackson to deserialize the values with the comma as the correct decimal separator?
Thanks in advance for comments, Tobias
Reply all
Reply to author
Forward
0 new messages