From owner-freebsd-arch@FreeBSD.ORG Tue Jul 29 07:41:04 2014 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0C3FEFAF for ; Tue, 29 Jul 2014 07:41:04 +0000 (UTC) Received: from eastrmfepi101.cox.net (eastrmfepi101.cox.net [68.230.241.197]) by mx1.freebsd.org (Postfix) with ESMTP id A733B2475 for ; Tue, 29 Jul 2014 07:41:03 +0000 (UTC) Received: from eastrmimpo109 ([68.230.241.222]) by eastrmfepo102.cox.net (InterMail vM.8.01.05.15 201-2260-151-145-20131218) with ESMTP id <20140729055640.JXAA18526.eastrmfepo102.cox.net@eastrmimpo109> for ; Tue, 29 Jul 2014 01:56:40 -0400 Received: from [192.168.0.33] ([72.194.65.37]) by eastrmimpo109 with cox id Y5we1o0090oDpc8015wfJt; Tue, 29 Jul 2014 01:56:39 -0400 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020208.53D73797.0101,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.0 cv=F4SJgNdN c=1 sm=1 a=Z5AWCFQ5VKA4phzWx86Kmg==:17 a=TM20W-5uK7UA:10 a=2b1Y-s4cCm8A:10 a=dBRESv0yCI8A:10 a=N659UExz7-8A:10 a=6I5d2MoRAAAA:8 a=89n-p_j9wxG2N1lDamgA:9 a=pILNOxqGKmIA:10 a=Z5AWCFQ5VKA4phzWx86Kmg==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; auth=pass (PLAIN) smtp.auth=myhuge@cox.net Message-ID: <53D73796.9060102@FreeBSD.org> Date: Mon, 28 Jul 2014 22:56:38 -0700 From: Stephen Hurd User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1 MIME-Version: 1.0 To: Jordan Hubbard , Jos Backus Subject: Re: XML Output: libxo - provide single API to output TXT, XML, JSON and HTML References: <20140725044921.9F0D3580A2@chaos.jnpr.net> <20140728054217.AC1A0580A2@chaos.jnpr.net> <20140728055336.GJ50802@ivaldir.etoilebsd.net> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Cc: arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jul 2014 07:41:04 -0000 Jordan Hubbard wrote: > Is there some reason JSON is not sufficient? I think that’s a better question to ask, since the conversation otherwise quickly tends to sound a little like “I’ll accept any single unified format as long as it’s the specific one I like!” :) I think the greater good argument would suggest just picking one that’s expressive enough (roll a pair of dice), put on your bikeshed-proof sunglasses, and proceed. The biggest problem I tend to have with JSON is that there is no comment format. I rarely update a configuration without adding a comment regarding it, and since JSON doesn't have comments, it's simply a non-starter for most of my usage. The whole "just a key that you know isn't real" hack is terrible.