public final class TranslateOperation 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 throw a "no such path" error if there is no value at path
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OPERATION_NAME |
Constructor and Description |
---|
TranslateOperation(JsonPointer path,
JsonNode fromValue,
JsonNode toValue) |
apply
serialize, serializeWithType, toString
public static final java.lang.String OPERATION_NAME
public TranslateOperation(JsonPointer path, JsonNode fromValue, JsonNode toValue)