コード例 #1
0
        public void WriteComment()
        {
            JTokenWriter writer = new JTokenWriter();

            writer.WriteStartArray();
            writer.WriteComment("fail");
            writer.WriteEndArray();

            Assert.AreEqual(@"[
  /*fail*/]", writer.Token.ToString());
        }