bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Simen Heggestøyl
Subject: bug#16373: 24.3; json-encodes escapes / in strings
Date: Sun, 04 Oct 2015 14:11:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Leo Liu <sdl.web@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





reply via email to

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