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] [Commented] (JOHNZON-136) Review @JohnzonIgnoreNested
Date Mon, 25 Sep 2017 08:15:00 GMT

    [ https://issues.apache.org/jira/browse/JOHNZON-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16178711#comment-16178711
] 

Mark Struberg commented on JOHNZON-136:
---------------------------------------

I just reworked the test yesterday evening. The actual functionality is still working as before.
For avoiding cycles in Json I would rather use the new DeduplicateObjects feature.
But the feature remains untouched. So we can probably just fix this ticket or only enhance
our documentation.

> Review @JohnzonIgnoreNested
> ---------------------------
>
>                 Key: JOHNZON-136
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-136
>             Project: Johnzon
>          Issue Type: Bug
>          Components: Mapper
>    Affects Versions: 1.1.3
>            Reporter: Mark Struberg
>             Fix For: 1.1.4
>
>
> With the introduction of using JsonPointers for cyclic references we do not need @JohnzonIgnoreNested
anymore imo.
> Should we deprecate it?
> Or do we keep it and fix the test to show a real use case?
> The only situation where it now makes sense is if a nested object contains attributes
which I do not want to serialise.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message