polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Merlin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZEST-157) Remove support for legacy Map serialization format.
Date Thu, 16 Jun 2016 12:59:05 GMT

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

Paul Merlin commented on ZEST-157:
----------------------------------

I'm not sure about this.

How would we then serialize a {{Map}} that uses values as keys like {{Map<SomeValue, Something>}}
?

> Remove support for legacy Map serialization format.
> ---------------------------------------------------
>
>                 Key: ZEST-157
>                 URL: https://issues.apache.org/jira/browse/ZEST-157
>             Project: Zest
>          Issue Type: Task
>            Reporter: Niclas Hedhman
>
> In Qi4j 1.x, we serialized the Maps as
> [
>     { "key":"abc", "value":"def" )
> ]
> which in 2.x became
> {
>     "abc":"def"
> }
> We should remove the old format to make the code cleaner and less confusing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message