[
https://issues.apache.org/jira/browse/JOHNZON-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16235803#comment-16235803
]
Mark Struberg commented on JOHNZON-143:
---------------------------------------
The current decision tree is
1.) Is there an explicit configuration via MapperBuilder or JsonbConfig? then
use that
2.) Otherwise check whether the root object has a @JohnzonDeduplicateObjects
annotation and use that
3.) Otherwise -> false, do not deduplicate.
> control deduplicateObjects per Annotation
> -----------------------------------------
>
> Key: JOHNZON-143
> URL: https://issues.apache.org/jira/browse/JOHNZON-143
> Project: Johnzon
> Issue Type: Bug
> Components: JSON-B, Mapper
> Affects Versions: 1.1.4
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Fix For: 1.1.5
>
>
> See JOHNZON-135 for info on the basic deduplicateObjects feature.
> Currently this can only be configured via JsonB or Mapper.
> But in the JAX-RS case this is well hidden inside the framework.
> In this case it would be nice to have an annotation like
> @JohnzonDeduplicateObjects to override the basic
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)