public class EmptyStringToNull
extends java.lang.Object
implements com.bazaarvoice.jolt.Transform
Transform
implementation that turns all empty strings ""
into null.
You can use this by specifying the fully qualified class name as the operation
in your jolt specification
[{"operation": ...skipped for brevity }, { "operation": "com.adaptris.core.transform.json.jolt.EmptyStringToNull"}]
Constructor and Description |
---|
EmptyStringToNull() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
transform(java.lang.Object input) |