Re: [Json] I-D Action: draft-ietf-json-rfc4627bis-05.txt

"Manger, James H" <> Wed, 09 October 2013 00:39 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id C26AE21F9FA4 for <>; Tue, 8 Oct 2013 17:39:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -0.518
X-Spam-Status: No, score=-0.518 tagged_above=-999 required=5 tests=[AWL=0.383, BAYES_00=-2.599, HELO_EQ_AU=0.377, HOST_EQ_AU=0.327, RELAY_IS_203=0.994]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id n4m5khzu9Vlm for <>; Tue, 8 Oct 2013 17:39:04 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id 1CB0221F9F34 for <>; Tue, 8 Oct 2013 17:38:54 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.90,1059,1371045600"; d="scan'208";a="164817951"
Received: from unknown (HELO ([]) by with ESMTP; 09 Oct 2013 11:38:54 +1100
X-IronPort-AV: E=McAfee;i="5400,1158,7222"; a="220642745"
Received: from ([]) by with ESMTP; 09 Oct 2013 11:38:54 +1100
Received: from ([]) by ([]) with mapi; Wed, 9 Oct 2013 11:38:53 +1100
From: "Manger, James H" <>
To: Tim Bray <>, "" <>
Date: Wed, 09 Oct 2013 11:38:52 +1100
Thread-Topic: [Json] I-D Action: draft-ietf-json-rfc4627bis-05.txt
Thread-Index: Ac7EgSg0lXyjIjGyRYShoQEaDZApTAAARwNA
Message-ID: <>
References: <> <>
In-Reply-To: <>
Accept-Language: en-US, en-AU
Content-Language: en-US
acceptlanguage: en-US, en-AU
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Subject: Re: [Json] I-D Action: draft-ietf-json-rfc4627bis-05.txt
X-Mailman-Version: 2.1.12
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: Wed, 09 Oct 2013 00:39:09 -0000

> Real HTML at

 “for example, "Hello world!", "42", and "true" would all be valid JSON texts in the ECMAScript 5.1 context.”

This is not quite precise as the double-quotes are part of the JSON text for the string example, but not for the number and Boolean examples. Perhaps say:
  for example, each of the following 3 lines would be a valid JSON text
  in the ECMAScript 5.1 context:
  "Hello world!"

But the publication of ECMA-404 means we should radically change 4627bis.
Lets do what ECMA-404 "Introduction" suggests other standards do:

  It is expected that other standards will refer to this one, strictly
  adhering to the JSON text format, while imposing restrictions on various
  encoding details. Such standards may require specific behaviours. JSON 
  itself specifies no behaviour. 

Lets reference ECMA-404 -- not repeating any of the syntax.
Define the media type.
Discuss the interop issues with surrogates, huge integers, decimal floats, duplicate names, comments, encodings.
Perhaps define terms such as "web-safe JSON" (for a subset of JSON) and "web-safe JSON parser" (for specific parser behaviour) that other specs using JSON can refer to.

I guess this is close to Tim’s "Internet JSON" or "I-JSON" proposal.
It is time to drop the minimal 4627 update.

James Manger