camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Mistroni <mmistr...@gmail.com>
Subject issue with jsonFormatting and timestamps
Date Thu, 29 Nov 2012 22:12:14 GMT
Hello all
   i have a serverside camelapp in which i am exposing an http channel
which returns json data.
the problem i have is that one of the object i serialize contains a
timestamp, and this is how the object is beign serialized

[{"title":"[video] Tablet Boom: A Derivative
Play?","description":"","newsItemId":{"ticker":"MCD","publishedDate":1353969000000}}

i had a look at JsonDataFormat but i cannot plug any serializer in there

as i am using Jackson, are there any system properties i can set to
serlialize the timestamp perhaps into a readable string?

thanks in advance and sorry for bothering

regards
 marco

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message