Re: [PATCH] Changed json formatter to escape strings according to the spec

2017-01-19 Thread Nadav Har'El
Thanks, looks good - also according to https://www.ietf.org/rfc/rfc4627.txt section 2.5. I'll commit it now. -- Nadav Har'El n...@scylladb.com On Thu, Jan 19, 2017 at 6:52 AM, Waldemar Kozaczuk wrote: > Changed formatter::to_json methods that format string to JSON to

[PATCH] Changed json formatter to escape strings according to the spec

2017-01-18 Thread Waldemar Kozaczuk
Changed formatter::to_json methods that format string to JSON to properly escape according to http://www.json.org/. Fixes #836. Signed-off-by: Waldemar Kozaczuk --- modules/httpserver/json/formatter.cc | 28 ++--