I am just a bit worried about looping the maps. On Mon, Apr 3, 2017 at 3:41 PM, Paul Merlin <paulmer...@apache.org> wrote:
> Niclas Hedhman a écrit : > > Q; This "if keys are Strings", do you iterate through them or do you use > > ParameterizedType ? > > All keys must be a character or a sequence of characters: > https://github.com/apache/polygene-java/blob/develop/ > core/spi/src/main/java/org/apache/polygene/serialization/ > javaxjson/JavaxJsonSerializer.java#L213-L215 > > I'll add specific coverage for that. > > > > > On Mon, Apr 3, 2017 at 1:53 AM, Paul Merlin (JIRA) <j...@apache.org> > wrote: > > > >> [ https://issues.apache.org/jira/browse/POLYGENE-157?page= > >> com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] > >> > >> Paul Merlin resolved POLYGENE-157. > >> ---------------------------------- > >> Resolution: Fixed > >> > >>> Remove support for legacy Map serialization format. > >>> --------------------------------------------------- > >>> > >>> Key: POLYGENE-157 > >>> URL: https://issues.apache.org/ > jira/browse/POLYGENE-157 > >>> Project: Polygene > >>> Issue Type: Sub-task > >>> Reporter: Niclas Hedhman > >>> Assignee: Paul Merlin > >>> Fix For: 3.0 > >>> > >>> > >>> 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.15#6346) > >> > > > > > > > -- Niclas Hedhman, Software Developer http://polygene.apache.org - New Energy for Java