X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=x2i1yB4WawpL/UjXKQsmVqI063FUL4IBjxuW8XjooLk=; b=ZLXWj5ki7i9r/BVLtDvfGHPnMdWjHZnZ/Ncinfck78L6ACLUw9ofxmoniyD3nxD6iD DJk/RNzXLYRs1LvmiprL5WH1ny+DU0LYZh5PoVPx7RIy/tA3r94qITovqOAE3GBtw9Td hj+5TZCn3keCDVm3qnlILDNBkaBHPy+e6LjhRE5V84zrGcT0slooYVd6GJFOjGu+wapL zoZTM6X9wKmnxsf+MaBC8wRtliX05CU+pGov9Q2ruwT0eKKkxALZyX7NTCt4QUQtthEE fLTZmp4SLq34hXJFQ1L0yjxBj9Dx5COHwuFNmnYIypYhXnPaLiOlyzGEVj0kWSv5nff5 JR+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=x2i1yB4WawpL/UjXKQsmVqI063FUL4IBjxuW8XjooLk=; b=O0xULyHKtu3Wm4gtSPscLU2WSJmJ7BaH0Ck6ByujhSdHDLRT/tdH624cWXYNM9GxBh pPCBgeLKj2slJrEfT5Vqj+Ny06O4bIiZSkLoCTxIfYPsoiS9O5Nc8dJcEGQJRR5BVcOh o6sXmUJT4m7AgAmYa9oETgCgsvPstqBGnDO51AHKwAKqKmjYDtCIB9InWfLrpvvK6o/b kOfpSSPFMZBYBJabKI0m/8/BI3flii6cYwmzLVGXboSztQViJONKnuVHx7r8mRetbCet 88Jcj2KDc0AwmF1Cg/Tlp7aA2v5VXf/NugGwMWai8A1N8WQBteJONT/BLZApnfuckjSz mmlw== X-Gm-Message-State: AG10YOTCo+64EBSjzy0+OBESGzP2xCdJ7SXxaw2Soci2qrbUhZaLFx56utbWitZq//9a7j4fviMah9C+tZAqzA== MIME-Version: 1.0 X-Received: by 10.194.6.98 with SMTP id z2mr8460427wjz.101.1454597208866; Thu, 04 Feb 2016 06:46:48 -0800 (PST) In-Reply-To: References: Date: Thu, 4 Feb 2016 05:46:48 -0900 Message-ID: Subject: Re: [geda-user] Possible file format sample, questions, YAML vs JSON, etc. From: "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Content-Type: text/plain; charset=UTF-8 Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, Feb 3, 2016 at 4:50 PM, Bob Paddock (bob DOT paddock AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: >> What I've sadly concluded is that it would probably be better to go with >> JSON, like the rest of the world. If everyone wanted YAML instead for the >> cleanliness > > It was my understanding that YAML could be self-referential unlike JSON/XML? > I can see self-referential as an advantage. Yes, but in going through the existing format I didn't find any cases where it would be useful. If we wanted to store the rtree or something it might be, but by the time you do that much a real exposed library with language binding isn't that much harder. There's also the possibility to add your own anchor/id fields with you own naming convention to JSON, giving a less perfect but still usable representation on the script side. Britton