Only escape quotation mark, backslash and cntrl U+0000 to U+001F
commit58c86059c60bc27e9eadba5735da5a40b47f6005
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 25 Mar 2015 19:54:29 +0000 (25 21:54 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 25 Mar 2015 19:54:29 +0000 (25 21:54 +0200)
tree88b49d8b41f36d173824c96184588ebdfec27f17
parent2b828866c2df5ea558283e4c3f4c79a404918bea
Only escape quotation mark, backslash and cntrl U+0000 to U+001F

* lisp/json.el (json-special-chars): Don't treat `/' specially, there's
no need to.
(json-encode-string): Only escape quotation mark, backslash and
the control characters U+0000 to U+001F.
lisp/ChangeLog
lisp/json.el
test/automated/json-tests.el