Represents a value in JSON (string, integer, date, etc).
Inheritance: LC.Newtonsoft.Json.Linq.JToken, IEquatable, IFormattable, IComparable, IComparable, IConvertible
Beispiel #1
0
 /// <summary>
 /// Writes a comment <c>/*...*/</c> containing the specified text.
 /// </summary>
 /// <param name="text">Text to place inside the comment.</param>
 public override void WriteComment(string text)
 {
     base.WriteComment(text);
     AddValue(JValue.CreateComment(text), JsonToken.Comment);
 }