spring-bootjacksongsonmulespring-restcontroller

Is there a way to do JSON Conversions in spring boot, similar to MuleSoft Dataweave Operations?


I am interested to do any complex JSON to JSON(Anything) or JSON to Flat file transformations, like done in MuleSoft(using operators like map, filter, pluck, orderBy, groupBy, etc.) but in spring boot using Java. It's know to me that MuleSoft is a spring based Middleware. But, I couldn't find to see such complex Mulesoft functionalities & offerings done implemented in java separately. Could someone provide me a Mule JSON map operator & else more ; equivalent example code in Spring Boot ?


Solution

  • I have found what I was looking for but I forgot to add it here. It is possible to call Dataweave from Spring boot app using Java. Here is the an example

    DW Transformers