You can do this using Jackson:
mapper.readerForUpdating(object).readValue(json);
More Related Contents:
- Get NPE reading null object field when deserializing using Jackson [closed]
- Deserializing polymorphic types with Jackson based on the presence of a unique property
- Right way to write JSON deserializer in Spring or extend it
- Java: Jackson polymorphic JSON deserialization of an object with an interface property?
- Jackson Change JsonIgnore Dynamically
- How to create a custom deserializer in Jackson for a generic type?
- Jackson JSON library: how to instantiate a class that contains abstract fields
- Json deserialization into other class hierarchy using Jackson
- What’s the Jackson deserialization equivalent of @JsonUnwrapped?
- Jackson JSON Deserialization: array elements in each line
- Make Jackson use a custom deserializer everywhere (for a type which isn’t mine)
- Json to java objects mapping [closed]
- How to use Jackson to deserialise an array of objects
- Java 8 LocalDate Jackson format
- Jackson with JSON: Unrecognized field, not marked as ignorable
- JsonMappingException: No suitable constructor found for type [simple type, class ]: can not instantiate from JSON object
- Jackson serialization: ignore empty values (or null)
- Parsing JSON in Java without knowing JSON format
- Jackson renames primitive boolean field by removing ‘is’
- How to serialize Joda DateTime with Jackson JSON processor?
- Deserialize Java 8 LocalDateTime with JacksonMapper
- Query a JSONObject in java
- How to modify JsonNode in Java?
- Jackson + Builder Pattern?
- JPA Transient Annotation and JSON
- Can we make object as key in map when using JSON?
- Removing JSON elements with jackson
- Jackson @JsonProperty(required=true) doesn’t throw an exception
- JSON to JSON transformer
- How to use @JsonIdentityInfo with circular references?