You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by salemi <sa...@avaya.com> on 2014/11/10 20:49:07 UTC

Camel Template solution for JSON

Hi All,

is there JSON template solution for camel? I saw camel supports the
following  templating:
    FreeMarker
    StringTemplate
    Velocity
    XQuery
    XSLT

I like to convert incoming messages all to JSON using a template. There is
framework called JOLT that maps json to json. It would be nice to have
templating framework that would convert xml as well json to a json format.

Thanks,
Ali



-----
Alireza Salemi
--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Template-solution-for-JSON-tp5758858.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Template solution for JSON

Posted by salemi <sa...@avaya.com>.
I am using Jolt for now. I was hoping there is a better mapping framework out
there. I looked at smooks but it seems to be old.



-----
Alireza Salemi
--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Template-solution-for-JSON2JSON-tp5758858p5759014.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Template solution for JSON

Posted by Willem Jiang <wi...@gmail.com>.
+1 for adding this new component.
I just have a quick look at the JOLT[1] license, it uses ASLv2, which means we can use it within Apache Camel without any issue.

[1]https://github.com/bazaarvoice/jolt

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On November 11, 2014 at 4:09:25 AM, salemi (salemi@avaya.com) wrote:
> Hi All,
>  
> is there JSON template solution for camel? I saw camel supports the
> following templating:
> FreeMarker
> StringTemplate
> Velocity
> XQuery
> XSLT
>  
> I like to convert incoming messages all to JSON using a template. There is
> framework called JOLT that maps json to json. It would be nice to have
> templating framework that would convert xml as well json to a json format.
>  
> Thanks,
> Ali
>  
>  
>  
> -----
> Alireza Salemi
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Template-solution-for-JSON-tp5758858.html  
> Sent from the Camel - Users mailing list archive at Nabble.com.
>