-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Milestone
Description
(note: related to #138)
Currently it is assumed that all Object Id resolution is handled internally, using only information available from POJOs to serialize, or coming from JSON to deserialize.
This works acceptably when the default "serialize first instance seen, use ids for rest" handling, but not when trying to deserialize entries when using "always use id", since in latter case JSON itself just does not have actual things being referred.
This should be possible to handle by allowing use of external Object Id resolvers, which would be used if id is not resolvable using JSON content. This object could be called only in cases where it is known to be needed (when resolving references that have "alwaysUseId" marker).
Metadata
Metadata
Assignees
Labels
No labels