Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Emmanuel Bourg Newsgroups: linux.debian.maint.java Subject: Re: Looking for advice about json-simple 3 transition Date: Sun, 17 May 2020 23:00:02 +0200 Message-ID: References: X-Original-To: Gilles Filippini , Debian Java List X-Mailbox-Line: From debian-java-request@lists.debian.org Sun May 17 20:54:32 2020 Old-Return-Path: X-Amavis-Spam-Status: No, score=-11.981 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Mailing-List: archive/latest/22202 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/b370ae2c-65a1-0f68-2591-f4b05a307244@apache.org Approved: robomod@news.nic.it Lines: 17 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 17 May 2020 22:54:15 +0200 X-Original-Message-ID: X-Original-References: <3b936483-5405-7a73-bf56-cd081e0805f4@debian.org> Xref: csiph.com linux.debian.maint.java:11625 Le 13/05/2020 à 15:46, Gilles Filippini a écrit : > I'd like to push json-simple 3.1.1 into unstable, but I'm not sure how I > should handle the transition. The 3.x releases are not backward > compatible with 2.x. > > A whole set of deprecated classes has been removed: >> * Deprecated JSONParse and JSONValue in favor of Jsoner. >> * Deprecated JSONStreamAware and JSONAware in favor of Jsonable. >> * Deprecated JSONObject in favor of JsonObject. >> * Deprecated JSONArray in favor of JsonArray. Did you consider reintroducing the removed classes? That's the strategy I've adopted for Guava. That's much less hassle than patching the reverse dependencies and handling a transition. Emmanuel Bourg