Class Json2XmlInterceptor

java.lang.Object
com.predic8.membrane.core.interceptor.AbstractInterceptor
com.predic8.membrane.core.interceptor.xml.Json2XmlInterceptor
All Implemented Interfaces:
Interceptor

public class Json2XmlInterceptor extends AbstractInterceptor
Description
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
Topic
4. Interceptors/Features