Permalink
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (8 sloc) 346 Bytes
// Copyright (c) 2011-2013 David Caldwell <david@porkrind.org> -*- c++ -*-
// Licenced under the GPL 3.0 or any later version. See LICENSE file for details.
#ifndef __JSON_ESCAPE_H__
#define __JSON_ESCAPE_H__
#include <string>
std::string json_escape(std::string s);
std::string json_unescape(std::string s);
#endif /* __JSON_ESCAPE_H__ */