I logged a new ticket just in case we didnt have that ticket I think we have
https://issues.apache.org/jira/browse/CAMEL-5836

On Fri, Nov 30, 2012 at 12:25 PM, Claus Ibsen <claus.ib...@gmail.com> wrote:
> Hi
>
> Yeah I think we may have a JIRA ticket to improve the json data format
> to allow to configure it.
>
> Frankly we should maybe let json default be jackson. And add ways to
> configure it, so you can set custom serializers etc.
>
>
>
> On Thu, Nov 29, 2012 at 11:12 PM, Marco Mistroni <mmistr...@gmail.com> wrote:
>> 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
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Email: cib...@redhat.com
> Web: http://fusesource.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to