johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JOHNZON-135) Support recursive structures in JSON-B and Mapper
Date Thu, 05 Oct 2017 08:59:01 GMT

     [ 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)

Mime
View raw message