From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: Org mode and "shunt" exporters? Date: Thu, 12 Dec 2013 14:50:29 -0500 Message-ID: <87lhzpkg15.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrCHA-0007Bm-IK for emacs-orgmode@gnu.org; Thu, 12 Dec 2013 14:50:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrCH5-0004Vf-3p for emacs-orgmode@gnu.org; Thu, 12 Dec 2013 14:50:24 -0500 Received: from mail-qc0-x229.google.com ([2607:f8b0:400d:c01::229]:64752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrCH4-0004VR-VM for emacs-orgmode@gnu.org; Thu, 12 Dec 2013 14:50:19 -0500 Received: by mail-qc0-f169.google.com with SMTP id r5so718730qcx.14 for ; Thu, 12 Dec 2013 11:50:18 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin , Brett Viren Cc: "emacs-orgmode@gnu.org" 2013ko abenudak 12an, John Kitchin-ek idatzi zuen: > > I wouldn't hold your breath waiting for my solution, it's currently a > constructive procrastination project to see if it is possible ;) > > I made this: > > https://github.com/jkitchin/jmax/blob/prelude/ox-json.el > > which does give some output that vaguely resembles json for a very simple > org-file (no quotes, no effort to make compliant json, or pretty print it, > for example). This handles headlines, italic, bold text, links, paragraphs, > and plain text. Emacs has a json library since 2008 (C-h f json-encode), and pretty-printing in that library since last year, so you (or someone else who has procrastination time on their hands...) should be able to solve the quoting and formatting problems that way. -- Aaron Ecay