3

I have somewhat unique requirement, which I could not find an answer to so far. I need a JSON to JSON transformation. Preferably, if I could plug it into Apache Camel, that would be wonderful.

As a side note, I would also welcome any suggestion to optimally store the JSON to JSON mapping. Is there any XSLT-based way of achieving this?

Thanks! Mario

PatrickWalker
  • 550
  • 5
  • 19
user1323865
  • 435
  • 1
  • 6
  • 15
  • Is the JSON to JSON transformation a completely uncommmon requirement? Is this because normally JSON -> POJO -> JSON the way to do it? – user1323865 Apr 12 '12 at 03:07
  • This question has already been asked http://stackoverflow.com/questions/1618038/xslt-equivalent-for-json – G Quintana Apr 07 '14 at 15:46

3 Answers3

2

ZORBA with jsonIQ : http://www.jsoniq.org/ it's a native library, but with high performance. You have examples in the web page.

mvallebr
  • 2,388
  • 21
  • 36
0

There is a simple design here: https://rawgithub.com/chunqishi/edu.brandeis.cs.json2json/master/docs/design-2014-04-09.html

May be you can improve it by source code, https://github.com/chunqishi/edu.brandeis.cs.json2json.

Jeff
  • 119
  • 1
  • 3
0

I know this is an old question, but to refresh the answers, starting from Camel 2.16 there is a new component for JOLT integration. It is very powerful !

Abdelghani Roussi
  • 2,707
  • 2
  • 21
  • 39