Class NullToArray
java.lang.Object
com.adaptris.core.transform.json.jolt.NullToArray
- All Implemented Interfaces:
com.bazaarvoice.jolt.JoltTransform
,com.bazaarvoice.jolt.Transform
Transform
implementation returns an empty array when the object is null.
This exists because it is not easily achievable using "operation": "default"
.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NullToArray
public NullToArray()
-
-
Method Details
-
transform
- Specified by:
transform
in interfacecom.bazaarvoice.jolt.Transform
-