johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (Jira)" <j...@apache.org>
Subject [jira] [Updated] (JOHNZON-146) Mapper json processing should use the order in the Json, not setters
Date Thu, 03 Oct 2019 12:53:00 GMT

     [ https://issues.apache.org/jira/browse/JOHNZON-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Romain Manni-Bucau updated JOHNZON-146:
---------------------------------------
    Fix Version/s:     (was: 1.2.1)
                   1.2.2

> Mapper json processing should use the order in the Json, not setters
> --------------------------------------------------------------------
>
>                 Key: JOHNZON-146
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-146
>             Project: Johnzon
>          Issue Type: Bug
>          Components: JSON-B, Mapper
>    Affects Versions: 1.1.5
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>            Priority: Minor
>             Fix For: 1.2.2
>
>
> Currently we do a loop over all the getters and try to find the attribute in the JSON.
> But for deduplicateObjects handling one might end up getting a JsonPointer before the
original object got processed. 
> This means that we should do it exactly the other way around: loop over the json attributes
and then use the setter accordingly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message