Deserialize JSON into existing object (Java)

You can do this using Jackson:

mapper.readerForUpdating(object).readValue(json);

See also Merging Two JSON Documents Using Jackson

Leave a Comment