[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mapping data formats imported from C libraries

From: Lars Magne Ingebrigtsen
Subject: Re: mapping data formats imported from C libraries
Date: Tue, 25 Nov 2014 18:06:37 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Ted Zlatanov <address@hidden> writes:

> Yes, but in a really sucky way. If you look at the libjson and json.el
> output, it's much leaner. Mapping JSON up to XML pretty much guarantees
> pain when you use it and on the way back.  Do you want to inflict that
> on everyone in the name of a unified DOM?

The Emacs DOM is quite non-sucky.  It's just a tree.

(thing ((attrib . value)) (foo) (bar))

JSON maps onto it really nicely.  The attributes are always nil, though.

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]