4. Interceptors/Features

json2Xml

If enabled converts body content from json to xml.

Explanation:

Can be used for both request and response. Resulting xml will be utf-8. It uses org.json XML.toString() to do the conversion

Can be used in:

serviceProxy, api, stompProxy, swaggerProxy, if, registration, wsStompReassembler, interceptor, bean, internalProxy, transport and soapProxy

Syntax

<api port="2000">
  <request>
    <json2Xml/>
  </request>
  <target url="http://localhost:3000"/>
</api>