You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@johnzon.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2017/10/05 08:59:01 UTC
[jira] [Resolved] (JOHNZON-135) Support recursive structures in
JSON-B and Mapper
[ https://issues.apache.org/jira/browse/JOHNZON-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg resolved JOHNZON-135.
-----------------------------------
Resolution: Fixed
fixed. Can now be configured via
{noformat}
MapperBuilder.setDeduplicateObjects(boolean)
{noformat}
or via JSON-B property
{noformat}
johnzon.deduplicateObjects
{noformat}
> Support recursive structures in JSON-B and Mapper
> -------------------------------------------------
>
> Key: JOHNZON-135
> URL: https://issues.apache.org/jira/browse/JOHNZON-135
> Project: Johnzon
> Issue Type: New Feature
> Components: JSON-B, Mapper
> Affects Versions: 1.1.3
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Fix For: 1.1.4
>
>
> If we have a recursive Data Object we currently create a endless loop.
> There are a few strategies to work around this.
> * Writing a JsonPointer reference when an object gets detected a second time
> * Ignoring that attribute when an object gets detected a second time
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)