Re: [Json] Fwd: Blog: YANG Takes Off in the Industry
John Cowan <cowan@mercury.ccil.org> Fri, 01 August 2014 13:20 UTC
Return-Path: <cowan@ccil.org>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CE0AA1A0B17 for <json@ietfa.amsl.com>; Fri, 1 Aug 2014 06:20:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.202
X-Spam-Level:
X-Spam-Status: No, score=-1.202 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham
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 SC17lJEukxco for <json@ietfa.amsl.com>; Fri, 1 Aug 2014 06:20:34 -0700 (PDT)
Received: from earth.ccil.org (earth.ccil.org [192.190.237.11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E11F41A854D for <json@ietf.org>; Fri, 1 Aug 2014 06:20:31 -0700 (PDT)
Received: from cowan by earth.ccil.org with local (Exim 4.72) (envelope-from <cowan@ccil.org>) id 1XDCl2-0006MI-GM; Fri, 01 Aug 2014 09:20:28 -0400
Date: Fri, 01 Aug 2014 09:20:28 -0400
From: John Cowan <cowan@mercury.ccil.org>
To: Phillip Hallam-Baker <ietf@hallambaker.com>
Message-ID: <20140801132028.GF23649@mercury.ccil.org>
References: <53DB7757.8000600@cisco.com> <39ADA8F1-D204-4B2C-A1AC-0CA1F3B238D1@tzi.org> <20140801115408.GC23649@mercury.ccil.org> <CAMm+LwhFBuUj3=Od1cEAGr8k1=wa4gZZCU-AJJf+PySPG0MupA@mail.gmail.com> <20140801123546.GD23649@mercury.ccil.org> <CAMm+Lwj7B2fhWAU8WNmqZLx=K-KRD3L_D1EJYAB_3EcjN5b2kA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CAMm+Lwj7B2fhWAU8WNmqZLx=K-KRD3L_D1EJYAB_3EcjN5b2kA@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Sender: John Cowan <cowan@ccil.org>
Archived-At: http://mailarchive.ietf.org/arch/msg/json/qdY_jR83AFGo-1YOvlH-kdVjCtc
Cc: Carsten Bormann <cabo@tzi.org>, JSON WG <json@ietf.org>
Subject: Re: [Json] Fwd: Blog: YANG Takes Off in the Industry
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Fri, 01 Aug 2014 13:20:37 -0000
Phillip Hallam-Baker scripsit: > True, but JSON is (or certainly should be) just a serialization format > of the DOM. So it is actually a short distance between the two points > than XML. I don't say that you can't construct a JSON serialization of the DOM, but the DOM's native model, with its mixed content, node-centric rather than path-centric naming, and other features, is far more like XML than it is like JSON. What JSON serializes is JavaScript values (or rather less, given that it excludes infinity and NaN). That makes it convenient to represent JSON texts as anonymous JavaScript values within a JavaScript program. In any case this is far off-topic. > Which is why a binary version of JSON should be a binary encoding of > the DOM and not some different data model. A binary version of JSON should surely encode what JSON encodes, neither more nor less. -- John Cowan http://www.ccil.org/~cowan cowan@ccil.org No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friends or of thine own were: any man's death diminishes me, because I am involved in mankind, and therefore never send to know for whom the bell tolls; it tolls for thee. --John Donne
- [Json] Fwd: Blog: YANG Takes Off in the Industry Carsten Bormann
- Re: [Json] Fwd: Blog: YANG Takes Off in the Indus… John Cowan
- Re: [Json] Fwd: Blog: YANG Takes Off in the Indus… Carsten Bormann
- Re: [Json] Fwd: Blog: YANG Takes Off in the Indus… Phillip Hallam-Baker
- Re: [Json] Fwd: Blog: YANG Takes Off in the Indus… John Cowan
- Re: [Json] Fwd: Blog: YANG Takes Off in the Indus… Phillip Hallam-Baker
- Re: [Json] Fwd: Blog: YANG Takes Off in the Indus… John Cowan
- Re: [Json] Fwd: Blog: YANG Takes Off in the Indus… Ladislav Lhotka
- Re: [Json] Fwd: Blog: YANG Takes Off in the Indus… Ladislav Lhotka