Re: [Json] JSON or I-JSON?

John Cowan <> Fri, 26 February 2021 22:12 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 133013A0D63 for <>; Fri, 26 Feb 2021 14:12:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (2048-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id DmTn_hvJz6GJ for <>; Fri, 26 Feb 2021 14:12:31 -0800 (PST)
Received: from ( [IPv6:2607:f8b0:4864:20::72b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id D4A2C3A0D66 for <>; Fri, 26 Feb 2021 14:12:30 -0800 (PST)
Received: by with SMTP id x124so10769031qkc.1 for <>; Fri, 26 Feb 2021 14:12:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wesPHJKBkqRUQQTghaGi4Jmwjt8BZxgadYhQW+YU7AE=; b=vs78WgynOpe43IBJZdlsryER5wgjlztLkh/NNlRKy59FyKiOeF8bAaDSn5wWtKc6du vLMEG10t3tjul3HzBKROC48yUfINueRJrhft0A76eo1KLZ4mdHJI0xz8ChP5B+3qIEFU HqgMBZQMdsZH5aSAFO0ckF9uG1fllWQ2F766YiLv7c3KshAGiUkjKbUzBck4Pi0zX8Pb P2zgEft0oLtdHr4RRNUfNqe/lf9oc1yTQbCDXDjTO9FPeNrnzrMednhdaR8J2CGeIBxt z+6WIZxXAzBxdntI/S9tig6t96CvSVNUW2yFvpiWZxmLus4I19nRot34AHKTklakw4B4 g6tQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wesPHJKBkqRUQQTghaGi4Jmwjt8BZxgadYhQW+YU7AE=; b=fE3IhM3rFn/cV3T3R7V1qHAWSXJRGkVKj0UY9CWCtJCmBGcbghRfV8wB2ugG3nHVl0 dWiUP5V3SoOlQhlA82I/wbRvw+sTpHolR8Aa6aVOUzi/TkIGawfw+wqATQpSffZcftm3 vOABrd8twMMNU39yaVamR4tSE4FTMgo9lLei1kNPETfbImAPTsMhoqId7jjlRVFDYvNW T7XSiOk4WglFvsdnGqM76BLdfzoPrwyjEG7xwWjP0cr2No7tR5DFJp7fvsOOTuOkZk6H D511qEk9cVqCcvzKSdYr/YR5fKwS4n5kyQdZTY11gM/2bOTSj+bmO9s6UUk5vpe7esHe LWiw==
X-Gm-Message-State: AOAM530DToFxyIjUkLRwJI7/pw2IZFE6UdPyOKHYzKFL8kcNqU4v12df Hnf5T8pMIEJGOf4111GX8sjA0NWrJThSuEiRUeCDpA==
X-Google-Smtp-Source: ABdhPJxBxVWMKWDpWsOGBtzjho4pNxcn+nxA15bwkaK9o8GvSYMc83AlUJ5EmGaK3O9Ik0IMp/J+7wVfGyxCaL3G/1w=
X-Received: by 2002:a37:a151:: with SMTP id k78mr4772386qke.359.1614377549757; Fri, 26 Feb 2021 14:12:29 -0800 (PST)
MIME-Version: 1.0
References: <> <> <> <> <> <>
In-Reply-To: <>
From: John Cowan <>
Date: Fri, 26 Feb 2021 17:12:18 -0500
Message-ID: <>
To: David Kemp <>
Cc: Tim Bray <>, Pete Cordell <>, "" <>, Anders Rundgren <>
Content-Type: multipart/alternative; boundary="00000000000063482505bc44906b"
Archived-At: <>
Subject: Re: [Json] JSON or I-JSON?
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Fri, 26 Feb 2021 22:12:33 -0000

On Fri, Feb 26, 2021 at 12:41 PM David Kemp <> wrote:

If you are designing a protocol that uses, for example, Reputons (
> and a Reputon can contain megabytes of malware, or mpegs of cats being
> cute, or 14th century pornography (
> that isn't necessarily a good thing for the Internet.

Nevertheless, there are many contexts where must-ignore is entirely
appropriate.  If I am checking your ID card against a list of authorized
visitors, all I need to know is how to find your picture and your name:
whatever other fields may be present are quite irrelevant to me.  (Not
always so easy: probably a hundred traffic tickets were written in Ireland
in 2006-09 in the name of Prawo Jazdy, which is, alas, merely the Polish
for "driver's license".)

In any case, simple limitations on the length or nesting depth of a
structured document should be enough to eliminate all the problems you

John Cowan
    "Mr. Lane, if you ever wish anything that I can do, all you will have
        to do will be to send me a telegram asking and it will be done."
    "Mr. Hearst, if you ever get a telegram from me asking you to do
        anything, you can put the telegram down as a forgery."