private void WriteString(string value)
 {
     m_builder.Append($"\"{m_formatter.Escape(value)}\"");
 }
        /// <summary>
        /// Escapes the specified text.
        /// </summary>
        /// <param name="text">The text to escape.</param>
        public static string Escape(string text)
        {
            var formatter = new JsonFormatter();

            return(formatter.Escape(text));
        }