Return-Path: X-Original-To: apmail-groovy-users-archive@minotaur.apache.org Delivered-To: apmail-groovy-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4BAF118A70 for ; Sun, 6 Mar 2016 20:16:28 +0000 (UTC) Received: (qmail 55026 invoked by uid 500); 6 Mar 2016 20:16:23 -0000 Delivered-To: apmail-groovy-users-archive@groovy.apache.org Received: (qmail 54988 invoked by uid 500); 6 Mar 2016 20:16:23 -0000 Mailing-List: contact users-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.apache.org Delivered-To: mailing list users@groovy.apache.org Received: (qmail 54977 invoked by uid 99); 6 Mar 2016 20:16:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Mar 2016 20:16:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id AE5CD1804E1 for ; Sun, 6 Mar 2016 20:16:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id QRtwcu1Ji0Wv for ; Sun, 6 Mar 2016 20:16:21 +0000 (UTC) Received: from mail-ig0-f174.google.com (mail-ig0-f174.google.com [209.85.213.174]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id B08595F3F2 for ; Sun, 6 Mar 2016 20:16:20 +0000 (UTC) Received: by mail-ig0-f174.google.com with SMTP id z8so26926167ige.0 for ; Sun, 06 Mar 2016 12:16:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=XxX3aqLkft8WzQe/KEF7W2/PTTmjzaBAMX55Qpd72Ms=; b=TBM4C3NjxwpIRambHj2wrVdZxepy4uUg/k/1mDphm72Qb11d1w/7izudZTiqvQ437r Ak3j3bnM60MicGWIi9/TSTCGxSO/SEm1cBDnEqCBkngw/dYpdbtYvimGOz+auV3pK7SJ GeolPdLqJrdYU+Ui3D2K2HfljAI4BsOdkRzBHMOPckKNnX4AzVzp78zgCrWoCu7A6zQw qy6zRJEevj1NGT4n5wgyit9A2plLhpeprzTS4ixUc4JdDBBTZUScplZZAEQepgYBzQgi vLRXckJsAexkA6dgoG5/FzjGDDe2LjAqHEaw+JRFSUINBAR+Occl5YVozIHWZ/YV0FtI Py/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=XxX3aqLkft8WzQe/KEF7W2/PTTmjzaBAMX55Qpd72Ms=; b=DFaDZFWK31WsxBspYMCqR+saASy+hEYuf90l+slfbUAnv6L9eb8v8F/xehrs6vPmkj d64mNFim7BBLKO3rmcqTqhI3nnsZx5N9lYNAlAfHlMEby5ow1VB2i7zckQC3s4jyhh5M pGonZ9VdP4WwSTW1SEZGsiC9jw22GuwEnL942dHZracg2dmxy9xSZQmU6DgdqpoYelJl /z+GFA7fE2p9/8X0njKN1qFRz2qU8xfFL6Idd+wage1sxnqcXuKqFJccok1pPkVUDYAT E0/wAwW1C84jqwnDVI4/ZCzs6CKvACDW32CoNFVIFk6S+jc/Umv5NBKblvzc76G3K2+c XQBA== X-Gm-Message-State: AD7BkJLCPeXEH3KOr1c/ReFCRpMojD/dULceSCtg9t58dEIMJID2RbjlzDVi42d+aUnol1EBiq/2a2Xz0aqjJQ== X-Received: by 10.50.138.72 with SMTP id qo8mr8487964igb.81.1457295379621; Sun, 06 Mar 2016 12:16:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.7.145 with HTTP; Sun, 6 Mar 2016 12:15:59 -0800 (PST) In-Reply-To: <56DC7D51.40105@gmx.net> References: <56DAA9B8.3020601@gmx.net> <56DC7D51.40105@gmx.net> From: Gerald Wiltse Date: Sun, 6 Mar 2016 15:15:59 -0500 Message-ID: Subject: Re: JSONBuilder Option to Only Include NonNull values To: users@groovy.apache.org Content-Type: multipart/alternative; boundary=001a1134c7926f8726052d67050a --001a1134c7926f8726052d67050a Content-Type: text/plain; charset=UTF-8 Sorry, was on my list today. I hope this year to be able to start contributing consistently. Gerald R. Wiltse jerrywiltse@gmail.com On Sun, Mar 6, 2016 at 1:56 PM, Pascal Schumacher wrote: > Hi Gerald, > > thanks for the kind words. :) > > As I did not find any issue for this I created one myself: > https://issues.apache.org/jira/browse/GROOVY-7780 > > Cheers, > Pascal > > > Am 05.03.2016 um 16:37 schrieb Gerald Wiltse: > > You got it, thanks for all your hard work on the project! > > Gerald R. Wiltse > jerrywiltse@gmail.com > > > On Sat, Mar 5, 2016 at 4:41 AM, Pascal Schumacher < > pascalschumacher@gmx.net> wrote: > >> Hi Gerald, >> >> please create an enhancement request for the groovy JSON component at >> https://issues.apache.org/jira/browse/GROOVY/component/12326643/ to >> request a feature. >> >> Thanks, >> Pascal >> >> >> Am 04.03.2016 um 20:51 schrieb Gerald Wiltse: >> >> I just found this article which describes the problem perfectly and there >> are several good workarounds. >> >> >> http://stackoverflow.com/questions/14749817/exclude-null-values-using-jsonbuilder-in-groovy >> >> Apparently, it's a native feature of Jackson, which makes me think it's >> probably available in lots of JSON API's. >> >> Any chance this feature could get on the roadmap for JSON Builder (and >> slurper for that matter)? >> >> >> >> Gerald R. Wiltse >> jerrywiltse@gmail.com >> >> >> > > --001a1134c7926f8726052d67050a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sorry, was on my list today. I hope this year to be able t= o start contributing consistently.

Gerald R. Wiltse
jerrywiltse@gmail.com


On Sun, Mar 6, 2016 at 1:56 PM, Pascal Schum= acher <pascalschumacher@gmx.net> wrote:
=20 =20 =20
Hi Gerald,

thanks for the kind words. :)

As I did not find any issue for this I created one myself: https://issues.apache.org/jira/browse/GROOVY-7780

Cheers,
Pascal


Am 05.03.2016 um 16:37 schrieb Gerald Wiltse:
You got it, thanks for all your hard work on the project!

Gerald R. Wiltse
jerrywiltse@gmail.com


On Sat, Mar 5, 2016 at 4:41 AM, Pascal Schumacher <pascalschumacher@gmx.net> wrote:
Hi Gerald,

please create an enhancement request for the groovy JSON component at https://issues.apache.org/= jira/browse/GROOVY/component/12326643/ to request a feature.

Thanks,
Pascal


Am 04.03.2016 um 20:51 schrieb Gerald Wiltse:
I just found this article which describes the problem perfectly and there are several good workarounds.=C2=A0


Apparently, it's a native feature of Jackson= , which makes me think it's probably available in lots of JSON API's.=C2=A0

Any chance this feature could get on the roadmap for JSON Builder (and slurper for that matter)?



Gerald R. Wiltse
jerrywiltse@gmail.com





--001a1134c7926f8726052d67050a--