Class Xml2JsonInterceptor

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

public class Xml2JsonInterceptor extends AbstractInterceptor
Description
If enabled converts body content from xml to json.
Explanation
Can be used for both request and response. Xml file assumed to be in UTF-8. If input is invalid it returns empty json object.
Topic
4. Interceptors/Features