mirror of
https://github.com/nlohmann/json.git
synced 2026-04-22 15:59:26 +00:00
Fixed dumping of strings
This commit is contained in:
@@ -165,7 +165,10 @@ class json
|
||||
|
||||
/// dump the object (with pretty printer)
|
||||
std::string dump(const bool, const unsigned int, unsigned int = 0) const noexcept;
|
||||
|
||||
/// replaced a character in a string with another string
|
||||
void replaceChar(std::string& str, char c, const std::string& replacement) const;
|
||||
/// escapes special characters to safely dump the string
|
||||
std::string escapeString(const std::string&) const;
|
||||
public:
|
||||
/// explicit value conversion
|
||||
template<typename T>
|
||||
|
||||
Reference in New Issue
Block a user