Deserialization of Map with reference value
Dear <pre style="word-wrap: break-word; white-space: pre-wrap;">Dear Ivy team,team,
I face an issue when using Map<String, Object>.Map<String, Object>.
I have two key, there has the same value, then it serializes like it:
{
"additionalData": {
"@class": "Class<java.util.HashMap>","Class<java.util.HashMap>",
"first": {
"@class": "Class<objecttype.Assignee>","Class<objecttype.Assignee>",
"@id": "$Ref-1",
"displayName": "Hen"
},
"second": "$Ref-1"
}
}
And when deserializes I expect it should be:
**{firstKey=Assignee [displayName=Hen], secondKey=Assignee [displayName=Hen]}**
But it actual:
**{firstKey=Assignee [displayName=Hen], secondKey=$Ref-1}**
The second key now map with wrong value.
Is there any way to overcome this issue?
Thanks a lot!lot!</pre>