public class JsonPatchPatchConverter extends Object implements PatchConverter<com.fasterxml.jackson.databind.JsonNode>
JsonNode
s containing JSON Patch to/from Patch
objects.Constructor and Description |
---|
JsonPatchPatchConverter(com.fasterxml.jackson.databind.ObjectMapper mapper,
BindContext context) |
Modifier and Type | Method and Description |
---|---|
Patch |
convert(com.fasterxml.jackson.databind.JsonNode jsonNode)
Constructs a
Patch object given a JsonNode. |
public JsonPatchPatchConverter(com.fasterxml.jackson.databind.ObjectMapper mapper, BindContext context)
public Patch convert(com.fasterxml.jackson.databind.JsonNode jsonNode)
Patch
object given a JsonNode.convert
in interface PatchConverter<com.fasterxml.jackson.databind.JsonNode>
jsonNode
- a JsonNode containing the JSON PatchPatch
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.