Re: FYI: JSON parsing

Tim Bray <tbray@textuality.com> Thu, 27 October 2016 01:23 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0AABE129542 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 26 Oct 2016 18:23:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.351
X-Spam-Level:
X-Spam-Status: No, score=-7.351 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=textuality-com.20150623.gappssmtp.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 spA0sqZklcXQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 26 Oct 2016 18:23:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B3D77129500 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 26 Oct 2016 18:23:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1bzZLl-0003JM-JL for ietf-http-wg-dist@listhub.w3.org; Thu, 27 Oct 2016 01:19:21 +0000
Resent-Date: Thu, 27 Oct 2016 01:19:21 +0000
Resent-Message-Id: <E1bzZLl-0003JM-JL@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <tbray@textuality.com>) id 1bzZLg-0003IV-AR for ietf-http-wg@listhub.w3.org; Thu, 27 Oct 2016 01:19:16 +0000
Received: from mail-oi0-f49.google.com ([209.85.218.49]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <tbray@textuality.com>) id 1bzZLZ-0008Bg-5B for ietf-http-wg@w3.org; Thu, 27 Oct 2016 01:19:11 +0000
Received: by mail-oi0-f49.google.com with SMTP id a195so24275896oib.1 for <ietf-http-wg@w3.org>; Wed, 26 Oct 2016 18:18:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=textuality-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ifihKeW13/6t8LLQKTSjlIrCppfRzMCBVsbj1NbaBdo=; b=w0MV7S3BGMk57xT4x8eQT9pe0wH/Cq9khxKOMVijL+HGpisAv+EsrGg0yx3Lh1wgJ2 hEgWML1bLvyHweAxcHriCcS+R4tyZ5ENI9E5rT2glvKgqefKOGRADa0yx/zNVsqW9bCI Mb/LFsBh8ei76WWxmHi0/tpoB+D3utZzs6AMd/m/Ib9a6iHr4r580pHgkHNlyAYmrI4J u7U5E7g6bGDrv+OH8R6n5z7ha3Gz71XqP4MdTR7VzQP8Bctz2p4SMEG3tmfQW1T6Vm7u NG8Ch2RuO7SYYrA9QAHpYzfeZxGCw0QBwrJz6fyq69dOu41mjcyL9k7IsPtQUahwowdX FaIw==
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:cc; bh=ifihKeW13/6t8LLQKTSjlIrCppfRzMCBVsbj1NbaBdo=; b=dBE/UmokNEp+Tp19UUJuSHOfsPd9uUkYbrjGRkMQJZbQGEQhC1WgaqIAGmE3eNd+VI uEJ9Fj3QR+Q5YcCmWmKc2c8thY5EgvXIOKXCEAv971TDwNjmly0QLLKYQ053rGb7U8oJ 8+WERqXIr1WYfvBooZVHJ7WZulSdRMcXmBKxPuhzOH0BSpiut15CmTTcJXRI5fiZMo13 qVyQvDAgVBBFFK4r0uzhXjzfEs7nKZLrb38tsXPAVAbfyxrEfiuclR9N5KQTjiyOL98D qh9ytxQFu6JXo0kocBqWLtCTaa5BIlvpX7IuDy8j5R83VY6ni+wsqRl/IHNhWWGSh5Nw TNQw==
X-Gm-Message-State: ABUngve51C07+24WMDWtYqWCCjzT9O+bg01Db2FZOGbtBjAbbaj9fzWKzCjOQmZ9bw3AM1hYpvnhrX9W4ksVRw==
X-Received: by 10.107.12.139 with SMTP id 11mr4779865iom.67.1477531117852; Wed, 26 Oct 2016 18:18:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.229.144 with HTTP; Wed, 26 Oct 2016 18:18:17 -0700 (PDT)
X-Originating-IP: [24.86.134.32]
In-Reply-To: <B10FA80E-0A8E-4DBF-A400-963A582B7677@mnot.net>
References: <B10FA80E-0A8E-4DBF-A400-963A582B7677@mnot.net>
From: Tim Bray <tbray@textuality.com>
Date: Wed, 26 Oct 2016 18:18:17 -0700
Message-ID: <CAHBU6iuwwsbtascOQ2L5BWTXCgknD5oo5GnJzLY3VNO2G4hSEw@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP working group mailing list <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=001a113ef85c6cb6c7053fce8533
Received-SPF: none client-ip=209.85.218.49; envelope-from=tbray@textuality.com; helo=mail-oi0-f49.google.com
X-W3C-Hub-Spam-Status: No, score=-4.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1bzZLZ-0008Bg-5B ab62988f344e1d78dbdba950402eb1fd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI: JSON parsing
Archived-At: <http://www.w3.org/mid/CAHBU6iuwwsbtascOQ2L5BWTXCgknD5oo5GnJzLY3VNO2G4hSEw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32682
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

​Note that I-JSON, RFC7493, is aimed at exactly his concerns.​

On Wed, Oct 26, 2016 at 5:50 PM, Mark Nottingham <mnot@mnot.net> wrote:

> For those who haven't seen it, this is a pretty deep dive on JSON parsing
> ambiguities and mis-implementations.
>
>   http://seriot.ch/parsing_json.html
>
> Food for thought...
>
>
> --
> Mark Nottingham   https://www.mnot.net/
>
>
>


-- 
- Tim Bray (If you’d like to send me a private message, see
https://keybase.io/timbray)