GNU bug report logs -
#21798
25.0.50; [PATCH] Add support for retrieving paths to JSON elements
Previous Next
Reported by: Simen Heggestøyl <simenheg <at> gmail.com>
Date: Sat, 31 Oct 2015 08:47:01 UTC
Severity: wishlist
Tags: patch
Found in version 25.0.50
Done: Simen Heggestøyl <simenheg <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 10/31/2015 10:46 AM, Simen Heggestøyl wrote:
> The proposed patch extends json.el with the ability to retrieve the
> path to a particular JSON element.
>
> See the following video for an example of how it can be used by an
> interactive command, to show the path to the JSON element at point:
>
> http://folk.uio.no/simenheg/json-mode.webm
Hi Simen,
The video looks great, but the inline patch lacks indentation, and
doesn't apply (dunno if the former is the cause of the latter). Please
resend it as an attachment.
Without trying it, my main concern would be any performance regression
to json-read (it's not particularly fast already). Have you done any
benchmarking?
Splitting the new changes into new functions might be more optimal.
This bug report was last modified 9 years and 201 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.