Package org.apache.axis2.json
Class JSONBadgerfishMessageFormatter
- java.lang.Object
-
- org.apache.axis2.json.AbstractJSONMessageFormatter
-
- org.apache.axis2.json.JSONBadgerfishMessageFormatter
-
- All Implemented Interfaces:
MessageFormatter
public class JSONBadgerfishMessageFormatter extends AbstractJSONMessageFormatter
This JSONBadgerfishMessageFormatter is the formatter for "Badgerfish" formatted JSON in Axis2. Eg: <out><in>mapped JSON</in></out> is converted to... {"out":{"in":{"$":"mapped JSON"}}} This can be used when you want to send messages with namespaces with JSON
-
-
Constructor Summary
Constructors Constructor Description JSONBadgerfishMessageFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected XMLStreamWriter
getJSONWriter(Writer writer, MessageContext messageContext)
-
Methods inherited from class org.apache.axis2.json.AbstractJSONMessageFormatter
formatSOAPAction, getContentType, getTargetAddress, writeTo
-
-
-
-
Method Detail
-
getJSONWriter
protected XMLStreamWriter getJSONWriter(Writer writer, MessageContext messageContext)
- Specified by:
getJSONWriter
in classAbstractJSONMessageFormatter
-
-