Optimize serialization of quoted JSON strings.
[WebKit-https.git] / Source / WTF / wtf / text / StringBuilder.h
index 93422a2462631f307c0c13f28cb3b561d476aef1..be5c1172cccb998a410580345af40c29cb13498e 100644 (file)
@@ -159,6 +159,8 @@ public:
         append(U16_TRAIL(c));
     }
 
         append(U16_TRAIL(c));
     }
 
+    WTF_EXPORT_PRIVATE void appendQuotedJSONString(const String&);
+
     template<unsigned charactersCount>
     ALWAYS_INLINE void appendLiteral(const char (&characters)[charactersCount]) { append(characters, charactersCount - 1); }
 
     template<unsigned charactersCount>
     ALWAYS_INLINE void appendLiteral(const char (&characters)[charactersCount]) { append(characters, charactersCount - 1); }