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


Message #10 received at 16373-done <at> debbugs.gnu.org (full text, mbox):

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




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.