diff --git a/include/rapidjson/writer.h b/include/rapidjson/writer.h index 4bda076..7df5696 100644 --- a/include/rapidjson/writer.h +++ b/include/rapidjson/writer.h @@ -171,6 +171,12 @@ public: */ bool Double(double d) { Prefix(kNumberType); return WriteDouble(d); } + bool Number(const Ch* str, SizeType length, bool copy = false) { + (void)copy; + Prefix(kNumberType); + return WriteString(str, length); + } + bool String(const Ch* str, SizeType length, bool copy = false) { (void)copy; Prefix(kStringType);