Re: [Json] JSON for Internet messages

John Cowan <> Wed, 03 July 2013 20:15 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id D813F21F9AF1 for <>; Wed, 3 Jul 2013 13:15:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -3.578
X-Spam-Status: No, score=-3.578 tagged_above=-999 required=5 tests=[AWL=0.021, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id b4HGxZLuMOgj for <>; Wed, 3 Jul 2013 13:15:24 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id 6D83621F9A87 for <>; Wed, 3 Jul 2013 13:15:24 -0700 (PDT)
Received: from cowan by with local (Exim 4.72) (envelope-from <>) id 1UuTSU-0006vG-Tq; Wed, 03 Jul 2013 16:15:23 -0400
Date: Wed, 3 Jul 2013 16:15:22 -0400
From: John Cowan <>
To: Tatu Saloranta <>
Message-ID: <>
References: <> <>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <>
User-Agent: Mutt/1.5.20 (2009-06-14)
Sender: John Cowan <>
Cc: Tim Bray <>, "" <>
Subject: Re: [Json] JSON for Internet messages
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, 03 Jul 2013 20:15:29 -0000

Tatu Saloranta scripsit:

> It has never been a problem for me, nor has there been user requests beyond
> schema (and schema validator) implementors who care more. But it is
> possible that perhaps this has been a significant problem for others.

The trouble is that with sufficiently bad implementations, or chains
of implementations, such permissiveness can lead to a security breach,
and security being a Yang Worship Word these days, everyone cowers in
fear which such things are mentioned.  My most recent use case for
JSON (to represent the MicroXML data model) doesn't even require parsing it,
but I never suppose that for that reason JSON might as well be limited
to nothing but arrays in which the first element is always a string and
the second element is always an object with string values.

John Cowan  <>
Micropayment advocates mistakenly believe that efficient allocation of
resources is the purpose of markets.  Efficiency is a byproduct of market
systems, not their goal.  The reasons markets work are not because users
have embraced efficiency but because markets are the best place to allow
users to maximize their preferences, and very often their preferences are
not for conservation of cheap resources.  --Clay Shirky