GNU bug report logs - #16373
24.3; json-encodes escapes / in strings

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Mon, 6 Jan 2014 16:06:02 UTC

Severity: minor

Found in version 24.3

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

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Leo Liu <sdl.web <at> gmail.com>
Subject: bug#16373: closed (Re: bug#16373: 24.3; json-encodes escapes / in
 strings)
Date: Sun, 04 Oct 2015 12:12:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#16373: 24.3; json-encodes escapes / in strings

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 16373 <at> debbugs.gnu.org.

-- 
16373: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16373
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Simen Heggestøyl <simenheg <at> gmail.com>
To: Leo Liu <sdl.web <at> gmail.com>
Cc: 16373-done <at> debbugs.gnu.org
Subject: Re: bug#16373: 24.3; json-encodes escapes / in strings
Date: Sun, 04 Oct 2015 14:11:40 +0200
Leo Liu <sdl.web <at> gmail.com> writes:
> (json-encode "/") -> "\"\\/\""
>
> this makes path names look really ugly. Is it required?
>
> Leo

This was fixed in 58c86059.

To answer your question: it's not required (but permitted) that you
escape / in strings. See the "string" section at http://json.org/.

-- Simen

[Message part 3 (message/rfc822, inline)]
From: Leo Liu <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; json-encodes escapes / in strings
Date: Tue, 07 Jan 2014 00:05:16 +0800
(json-encode "/") -> "\"\\/\""

this makes path names look really ugly. Is it required?

Leo



This bug report was last modified 9 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.