Re: [Json] JSON Content Rules

Daniel P <danielaparker@gmail.com> Wed, 28 February 2018 16:22 UTC

Return-Path: <danielaparker@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 4A23312D0C3 for <json@ietfa.amsl.com>; Wed, 28 Feb 2018 08:22:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, HTML_MESSAGE=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 MM26-u6F7iIq for <json@ietfa.amsl.com>; Wed, 28 Feb 2018 08:22:52 -0800 (PST)
Received: from mail-ot0-x22d.google.com (mail-ot0-x22d.google.com [IPv6:2607:f8b0:4003:c0f::22d]) (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 E1C17124B17 for <json@ietf.org>; Wed, 28 Feb 2018 08:22:51 -0800 (PST)
Received: by mail-ot0-x22d.google.com with SMTP id t2so2741557otj.4 for <json@ietf.org>; Wed, 28 Feb 2018 08:22:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=kaTDvHIHSCmab2OBDShOGYZboaCiy4cQMesKHjpBVDI=; b=s5FeVLuai3k20Y/usnlNbNYeIQ0g7f3rFCpQpJfL1d/cktjMjdm17x7JUvQ8mQLvKH MxCSqltuoBSwjpCtRKATdowYbHjfij8PRimu0BO5sbEb7bjBTosLL/QVLfVeRR1/H2z9 xSfWLuBJzhO9ky+iJGTu+r7eJnfaGk2wiHuBzx3LcWqmL97sT1VD3eTu0ISgiyow4EDF BrmKXE4kZI+r5D9fx7qA8kdHM07tYEH+Ip6DVCgaR65/BHi/UOyNWAKl4drGlmWHMp/M y9pmCR61igNYFoykzG9zyEMCdO3dxn615IjXi3D1JNcP4+LYrqNWOqTcs86HVP8BLc2b N4Zw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=kaTDvHIHSCmab2OBDShOGYZboaCiy4cQMesKHjpBVDI=; b=IU/ZXNOXRF9eGTGoG02wTB20mJTgtLsN6/tcEmAujjuUYz34PQw5wQvhb1pDgT/leN +6QMzrcCqKG6Wt7YtwNPwPn8ZVClvcB3TMy+V6o2EGUpgA1FODCw2Qksu2L9MAwtVAPE iTKVUmcwTpAWO4cjVlCrbevpavZbaG1p2j677Rg7ieB4JKKlRzh0q5+Cky5Y/jSx1rGV G5WaO3F8YCw12GJQ9mAJxsu0kEP91uy6XdftCfMG0jQu70eITyLNjGY5+07HDI9BbbWf ESK9NddoxGbG/Y0namPO9gtXvOKJG5M38zf3sksoEeOSALw5YAWQLOiOmfttyBNXpwLk LiQg==
X-Gm-Message-State: APf1xPCp/BQDhV+W2VDvWQQHbSiyUkj9r6dVEj76yyjWELOzS4lFqUDn 5VcUqqrnsbmWWFuvEn2KY5Zbpj6hF90KhhUjn1yQqw==
X-Google-Smtp-Source: AG47ELvjWUgNGK8xII76gw8+BGV84fYdQuCd/riqq3exIlGFJ11dWukZ9fS6mg46DydiFxrX701nMHWEfqnOzv8rRDE=
X-Received: by 10.157.26.105 with SMTP id u38mr8048705otu.22.1519834970967; Wed, 28 Feb 2018 08:22:50 -0800 (PST)
MIME-Version: 1.0
Received: by 10.157.17.216 with HTTP; Wed, 28 Feb 2018 08:22:50 -0800 (PST)
In-Reply-To: <068ce4bd-4d12-1724-5b2d-8ee0f761bd70@codalogic.com>
References: <CA+mwktJU4xVHxRzgd=dcCKvUv3Om3qeBEhqTaW2sniLQ95+QDA@mail.gmail.com> <a36fc644-d3be-201e-b044-ed371fe7e52b@codalogic.com> <CA+mwktJ-YZBGExPeCTxCcwo6F1Ln5ZaDajRMOnm=RimUxnFqnQ@mail.gmail.com> <dbca1021-72ed-8c5f-7849-33f12bc420eb@codalogic.com> <068ce4bd-4d12-1724-5b2d-8ee0f761bd70@codalogic.com>
From: Daniel P <danielaparker@gmail.com>
Date: Wed, 28 Feb 2018 11:22:50 -0500
Message-ID: <CA+mwkt+9zzwVJ0_qpY3HCcmL+gYKwOUJYk4taK92Ed-8uK7iRw@mail.gmail.com>
To: Pete Cordell <petejson@codalogic.com>
Cc: JSON WG <json@ietf.org>
Content-Type: multipart/alternative; boundary="001a1134f8368fd508056648277c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/wblvNGa_kFAMnzGvD0rO47n6caM>
Subject: Re: [Json] JSON Content Rules
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: Wed, 28 Feb 2018 16:22:54 -0000

>  we've gone along with the suggestion to not need the distinct syntax.
> In other words, to allow:
>
>   $string-rule = "a string"
>   $member-rule = "name" : $string-rule

Great, thanks.

>   I'm not sure if it's legitimate to capture such insights in an RFC ...

Now _that_ might get people's attention, judging from those
"proposed text" threads :-)

Best regards,
Daniel Parker
https://github.com/danielaparker/jsoncons