Пример #1
0
        public void EscapeJson()
        {
            StringOperators.EscapeJson("hi\t\"there\"! \\/").Should().Be("hi\\t\\\"there\\\"! \\\\/");

            StringOperators.FpEscape("hi\nthere", "json").Should().Be("hi\\nthere");
        }