in include/spotify/json/encode_context.hpp [55:61]
json_force_inline void append_or_replace(const char replacing, const char with) {
if (json_likely(!empty() && _ptr[-1] == replacing)) {
_ptr[-1] = with;
} else {
append(with);
}
}