Re: [Json] I-D Action: draft-ietf-jsonbis-rfc7159bis-04.txt

Anders Rundgren <anders.rundgren.net@gmail.com> Sat, 22 July 2017 07:51 UTC

Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B3641131C58 for <json@ietfa.amsl.com>; Sat, 22 Jul 2017 00:51:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BUlNbSXeC_yn for <json@ietfa.amsl.com>; Sat, 22 Jul 2017 00:51:41 -0700 (PDT)
Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 22F62131C11 for <json@ietf.org>; Sat, 22 Jul 2017 00:51:41 -0700 (PDT)
Received: by mail-wm0-x244.google.com with SMTP id 184so6551369wmo.3 for <json@ietf.org>; Sat, 22 Jul 2017 00:51:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=/NqByzQsbA0lyPC+uFh1F9wksw4q4wlMiVzA3du1Pbk=; b=bHNxqU1tLeymtcS5gKILgZ8QmGG2/tKsVe0sv7boRhUz2ilDv6JRxndPFG7puNdo7N pVXyOknuWzGoZhtneUK0wfGOrMztNtkMBwjremHkXs9TvTLExK4Fe4RXrK8t8F/6dGfM dHALgRLPu+XG5bXXMjueAGfowhW34vlpTW/KNGBbeyXgq/qBh6ObVMOQAXJtFfZZH2ml B+RnLNbvFMd01jk3vLeeb5lXkUK3tbrA0SVBlw9/Rtjj1kAzwurv/lWlFQ59DH+2/PEA /RZhguxgw9Hw3yHe31lmDQrWpcvwriJGuhQKvWhPboRLEfc97bWMs3lt5mn/yGOtepuy 1vnw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/NqByzQsbA0lyPC+uFh1F9wksw4q4wlMiVzA3du1Pbk=; b=GBfz3+e886fmkXos2cqkRKdRozqQCodGFHA+JG2QxOlETeXpMzSXPKtTX5DFvg3U5t 1SaRQnUyDs/GaaJpEz2eYWZXpEvusVthAt8WhuBwwA9ocDuNtV53kcY5pVk2IcZXoHFT 6SeZF3X6SNfneQiEhxNnSLuLW0Rao+uH36jUVRoxRI2WU6Mh4VJMEDDzx5O0w7Kzmvkg 1HHPj89uIf8bo9Hkle3lkRZVDdufUU1lBpJt3mt1oK9f7SmrEzyM07cSOF6hcnrpeFJk FArvc3SiA9TDkC8HWbkeVcMSt0MZ/4vreAy9YoI6Ll4ZQCqwxlawuMBMWCs+MOq4QNZH AfXA==
X-Gm-Message-State: AIVw112bdxT9zNWX9bzFmtTtHZEd12/hDoFG29aeO+Hkfjxm8TWQ2C15 MK6PdptK4lnO+emt
X-Received: by 10.28.34.130 with SMTP id i124mr947282wmi.135.1500709899445; Sat, 22 Jul 2017 00:51:39 -0700 (PDT)
Received: from [192.168.1.79] (25.131.146.77.rev.sfr.net. [77.146.131.25]) by smtp.googlemail.com with ESMTPSA id e1sm9064991wrc.91.2017.07.22.00.51.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Jul 2017 00:51:38 -0700 (PDT)
To: Pete Cordell <petejson@codalogic.com>, Carsten Bormann <cabo@tzi.org>, Peter Saint-Andre - Filament <peter@filament.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, json@ietf.org
References: <150047191184.7507.7143481683564082881@ietfa.amsl.com> <DB9BA7EA-D393-4079-B347-620A09280B26@isode.com> <CAC4RtVBYMrRCrUZ1qqD+_rH4M8N23GOgbbh=921fEYqH+gCm5Q@mail.gmail.com> <c06e583a-965e-9eaf-975f-e6876ac056ed@filament.com> <f1a6b553-c787-e248-67bd-74d68d98a845@gmx.de> <262E8314-263A-4443-B912-AFCF1A3277B2@tzi.org> <166957c4-26fc-90b5-a798-59280c91b466@filament.com> <8B60039F-96DD-4F72-8139-D80B6F11566C@tzi.org> <3760a157-5b88-e334-712c-03eecd675794@codalogic.com>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Message-ID: <7a88952c-3e46-3f87-b3c2-2864f216c62d@gmail.com>
Date: Sat, 22 Jul 2017 09:51:36 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <3760a157-5b88-e334-712c-03eecd675794@codalogic.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/zxpPYwIolBRre-hW3V7CMDgExWY>
Subject: Re: [Json] I-D Action: draft-ietf-jsonbis-rfc7159bis-04.txt
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/json/>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Jul 2017 07:51:43 -0000

On 2017-07-22 09:36, Pete Cordell wrote:
> On 21/07/2017 17:07, Carsten Bormann wrote:
<snip>
> Here's another attempt, based on the feedback:
> 
>       JSON text that is to be machine interpreted in a layer of a protocol
>       stack directly related to underlying network activity (e.g.
>       JSON text in a REST over HTTP application, as opposed to JSON text
>       transported opaquely over a generic data transfer protocol), and
>       JSON text identified with the application/json media type, MUST be
>       encoded using UTF-8 [RFC3629].


I don't have any text to offer but I believe that UFT-8 encoding is the
only recommendable way for transferring JSON data from one system to
another which includes lots of other use case than HTTP.  For example:
Writing JSON to databases, usage in WebSocket messages, or simply putting
JSON in file.

Yes, it seems to me that "Serialized format"/"External representation" is
really the common denominator rather than networks and/or protocols.

Anders