Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2E1C7200C3C for ; Mon, 3 Apr 2017 09:41:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2C535160B8F; Mon, 3 Apr 2017 07:41:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 72364160B76 for ; Mon, 3 Apr 2017 09:41:52 +0200 (CEST) Received: (qmail 25351 invoked by uid 500); 3 Apr 2017 07:41:51 -0000 Mailing-List: contact dev-help@polygene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@polygene.apache.org Delivered-To: mailing list dev@polygene.apache.org Received: (qmail 25340 invoked by uid 99); 3 Apr 2017 07:41:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2017 07:41:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 391EDC12B1 for ; Mon, 3 Apr 2017 07:41:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.252 X-Spam-Level: ** X-Spam-Status: No, score=2.252 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id s8WrGPCYfPB0 for ; Mon, 3 Apr 2017 07:41:49 +0000 (UTC) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 758625FCFA for ; Mon, 3 Apr 2017 07:41:48 +0000 (UTC) Received: from mfilter10-d.gandi.net (mfilter10-d.gandi.net [217.70.178.139]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id C6C71172095 for ; Mon, 3 Apr 2017 09:41:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter10-d.gandi.net Received: from relay4-d.mail.gandi.net ([IPv6:::ffff:217.70.183.196]) by mfilter10-d.gandi.net (mfilter10-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id Q6B-dp48eUhY for ; Mon, 3 Apr 2017 09:41:41 +0200 (CEST) X-Originating-IP: 212.195.187.94 Received: from parangon.local (bne75-h07-212-195-187-94.dsl.sta.abo.bbox.fr [212.195.187.94]) (Authenticated sender: paul@nosphere.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id C2EA91720EB for ; Mon, 3 Apr 2017 09:41:40 +0200 (CEST) Message-ID: <58E1FCC2.5030301@apache.org> Date: Mon, 03 Apr 2017 09:41:54 +0200 From: Paul Merlin User-Agent: Postbox 3.0.11 (Macintosh/20140602) MIME-Version: 1.0 To: dev@polygene.apache.org Subject: Re: [jira] [Resolved] (POLYGENE-157) Remove support for legacy Map serialization format. References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------020205000102050209060803" archived-at: Mon, 03 Apr 2017 07:41:53 -0000 --------------020205000102050209060803 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) 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) >> > > > --------------020205000102050209060803--