public final class TranslateOptionalOperation extends TranslateOperationBase
translate?
operation.
The operation will translate a fromValue
to a toValue
at path
if it exists.
It will do nothing if the actual value at path
is not equal to fromValue
.
It will do nothing if there is no value at path
.Modifier and Type | Field and Description |
---|---|
static String |
OPERATION_NAME |
Constructor and Description |
---|
TranslateOptionalOperation(JsonPointer path,
JsonNode fromValue,
JsonNode toValue) |
apply
serialize, serializeWithType, toString
public static final String OPERATION_NAME
public TranslateOptionalOperation(JsonPointer path, JsonNode fromValue, JsonNode toValue)