[arch-d] draft-iab-protocol-maintenance / JSON feedback

Rob Sayre <sayrer@gmail.com> Sun, 17 July 2022 21:56 UTC

Return-Path: <sayrer@gmail.com>
X-Original-To: architecture-discuss@ietfa.amsl.com
Delivered-To: architecture-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C06A3C16ECA7 for <architecture-discuss@ietfa.amsl.com>; Sun, 17 Jul 2022 14:56:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K-jPL22mAIOB for <architecture-discuss@ietfa.amsl.com>; Sun, 17 Jul 2022 14:56:33 -0700 (PDT)
Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3CA6EC15A736 for <architecture-discuss@ietf.org>; Sun, 17 Jul 2022 14:56:33 -0700 (PDT)
Received: by mail-ed1-x535.google.com with SMTP id y4so13050579edc.4 for <architecture-discuss@ietf.org>; Sun, 17 Jul 2022 14:56:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=f56edogJXO1u3QlqSM5wik7wma4+0iBP+akF6gLCUUs=; b=KV/uSM6mPrSroTccVl7j75UlO7MiWZy97S+HrxuxRlVSPkWnv6yqnvCInfn/KmmAJm GbpAhPa366Ftpp/+ua5487LUsvUgIVIZym/piUPmHxWasvkfb/ijYHojg4MpOn3EzcfH utiVJrG7UUv93S98MUhEpbz++9tHW1wE3kpzXo8AkjxnT38YbYib+2AdvWQTMFO7QpvH ed9SS1UCZ4tb9PBHqDAKLUz2XJ7CyBDg8eXzY1AHRVZryoJNxGj+WaGiQ/ORHTynAOv2 AEmy8Sj7QtAEqv2LeAr1bnjU/uARh0mKeTOrjbB+6Re+cQ+KntqpeyA26v/o29X8Jd14 E8xg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=f56edogJXO1u3QlqSM5wik7wma4+0iBP+akF6gLCUUs=; b=FmQiUPSnRw2BWcWdjTBSqx94ekJbnuOtMTA+bOgUFcBX5vyu1GpWn7+Mi5xEmoxlrC 2PtcTKLEgfZVLYMH+7B/AefOJgP7kpj7BBvnhQZ15pZcbQKX9xJ/T0tYUTgmVz7mcYau L/AdnMuC2Bc7JaeYDvciMTywdnjg+YkERbH3+UZD3zf//eUu/H4UNuUpDKc+DsXa3vGZ 91DmjhTq9IP1Yu8UBHQkCjRRU4iXfSGCRyUZyXnWHkqzbv0+xn4lsjlYGJGYyn6JsIaC upYORhFoOnAC9mbJU0Go+YxTo3OrdHi60o37Xwz1gdF4+E9jnr8e390/j/CIvulBtpET 3CJg==
X-Gm-Message-State: AJIora//wQnBhWDQoUZHkHBcvt9cTWi4iEacg1Ooyrw1oygklLUtE5f8 5yTZflDX7kEZo6UC7d3KiZUD2Iu+UfYPzHML80MEiQloeoc=
X-Google-Smtp-Source: AGRyM1sV24t7+Ht4igWaFULe1nT4MEZ4l5epUyds9doie7MF7xtfFe1AJL5So1Hc2kFWL53hpFKtAsMXrWHt2aLq+sk=
X-Received: by 2002:aa7:dd16:0:b0:43a:e850:a245 with SMTP id i22-20020aa7dd16000000b0043ae850a245mr32562789edv.127.1658094990924; Sun, 17 Jul 2022 14:56:30 -0700 (PDT)
MIME-Version: 1.0
From: Rob Sayre <sayrer@gmail.com>
Date: Sun, 17 Jul 2022 14:56:19 -0700
Message-ID: <CAChr6Sxy66Yrr=0wnSGOUFBboFBaJsWzrWduvXep9L5akmYiNg@mail.gmail.com>
To: architecture-discuss@ietf.org
Content-Type: multipart/alternative; boundary="000000000000f01d7d05e40752d0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/architecture-discuss/90JtQMWdVD7mBhqC34JMMIa8kF8>
Subject: [arch-d] draft-iab-protocol-maintenance / JSON feedback
X-BeenThere: architecture-discuss@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: open discussion forum for long/wide-range architectural issues <architecture-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/architecture-discuss>, <mailto:architecture-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/architecture-discuss/>
List-Post: <mailto:architecture-discuss@ietf.org>
List-Help: <mailto:architecture-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/architecture-discuss>, <mailto:architecture-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 17 Jul 2022 21:56:35 -0000

Hi,

I'm sympathetic to concerns raised in the document, but I think the JSON
example is not a very good one.

JSON was deliberately underspecified because it would work most of the
time* in languages where typical payloads could get by using an "eval()"
function, rather than requiring an implementation at all, JavaScript and
Python being the most common. RFC4627 was an after-the-fact production, the
problems were already there.

So, the JSON case is actually showing that loose specification can drive
adoption (like HTML etc). I do not think that's the point you intended to
make.

thanks,
Rob

* the problems mentioned in the draft are real, but rare and often not
obvious