public final class JsonMergePatchDeserializer extends JsonDeserializer<JsonMergePatch>
JsonDeserializer for JsonMergePatch instances
Unlike "real" JSON Patches (ie, as defined by RFC 6902), JSON merge patch instances are "free form", they can be either JSON arrays or JSON objects without any restriction on the contents; only the content itself may guide the patching process (null elements in arrays, null values in objects).
Jackson does not provide a deserializer for such a case; we therefore write our own here.
JsonDeserializer.None| Constructor and Description |
|---|
JsonMergePatchDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
JsonMergePatch |
deserialize(JsonParser jp,
DeserializationContext ctxt) |
deserialize, deserializeWithType, getDelegatee, getEmptyValue, getKnownPropertyNames, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializerpublic JsonMergePatch deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException
deserialize in class JsonDeserializer<JsonMergePatch>IOException