From issues-return-35525-apmail-nifi-issues-archive=nifi.apache.org@nifi.apache.org Wed Sep 6 19:57:07 2017 Return-Path: X-Original-To: apmail-nifi-issues-archive@minotaur.apache.org Delivered-To: apmail-nifi-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 96BE71ABCC for ; Wed, 6 Sep 2017 19:57:07 +0000 (UTC) Received: (qmail 29769 invoked by uid 500); 6 Sep 2017 19:57:07 -0000 Delivered-To: apmail-nifi-issues-archive@nifi.apache.org Received: (qmail 29726 invoked by uid 500); 6 Sep 2017 19:57:06 -0000 Mailing-List: contact issues-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list issues@nifi.apache.org Received: (qmail 29717 invoked by uid 99); 6 Sep 2017 19:57:06 -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; Wed, 06 Sep 2017 19:57:06 +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 14314CD109 for ; Wed, 6 Sep 2017 19:57:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] 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 PsHAzfhuGVJz for ; Wed, 6 Sep 2017 19:57:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 5239C6102F for ; Wed, 6 Sep 2017 19:57:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 92AFAE00C9 for ; Wed, 6 Sep 2017 19:57:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 490A824143 for ; Wed, 6 Sep 2017 19:57:00 +0000 (UTC) Date: Wed, 6 Sep 2017 19:57:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (NIFI-4269) GetMongo should be able to provide pure JSON as well as "extended JSON" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NIFI-4269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16155941#comment-16155941 ] ASF GitHub Bot commented on NIFI-4269: -------------------------------------- Github user mattyb149 commented on the issue: https://github.com/apache/nifi/pull/2063 +1 LGTM, built and ran unit tests, and tried with a live MongoDB instance, verified both JSON modes produce the expected output. Thanks for the improvement! Merging to master > GetMongo should be able to provide pure JSON as well as "extended JSON" > ----------------------------------------------------------------------- > > Key: NIFI-4269 > URL: https://issues.apache.org/jira/browse/NIFI-4269 > Project: Apache NiFi > Issue Type: Improvement > Reporter: Mike Thomsen > > GetMongo currently only supports "extended JSON." That results in ugly JSON like this: > { > "timestamp": { > "$date": LONG_TIMESTAMP > } > } > instead of something cleaner like this: > { > "timestamp": "2017-08-07T00:00:00Z" > } > GetMongo should be refactored to support both modes of JSON serialization. -- This message was sent by Atlassian JIRA (v6.4.14#64029)