@FunctionalInterface public interface JsonPatchValueTransformer
JsonPatch
but may be overridden by calling
JsonPatch.patch(JsonValue original, JsonValue patch, JsonPatchValueTransform custom).Modifier and Type | Method and Description |
---|---|
Object |
getTransformedValue(JsonValue target,
JsonValue op)
Return the value to be used for a given patch operation.
|
Object getTransformedValue(JsonValue target, JsonValue op)
target
- the patch target document. Target is unused by default, made available
for use by custom transforms.op
- the patch operation.JsonValueException
- when the value cannot be located in the target.Copyright © 2010-2018, ForgeRock All Rights Reserved.