JSON Mapper
JSON for applications with a domain model. Deserialization merges into the objects you already have, so an update touches what changed and keeps identity, references and relations intact.
Installation
One artifact. It brings scala-universe along, which resolves the types the mapper works with.
Merge, don't replace
The target already exists, loaded from the database or held in memory. The JSON changes two properties; everything else on the object stays.
In place, not new
Nested objects and collections are updated where they are. Elements keep their identity by ID.
The model decides what is visible
A schema per entity lists its properties; a rule per property decides who may read and who may write it.
Validated, referenced, in sync
Bean Validation per property, references loaded by ID, and both sides of a JPA relation kept consistent.
From a DTO to an entity graph
The basics work with plain DTOs. The domain pages add schemas, graphs and references for JPA entities.