Improve documention to mention non-JSON strings for string values
This commit is contained in:
@@ -420,6 +420,10 @@ namespace Newtonsoft.Json.Linq
|
||||
/// <summary>
|
||||
/// Returns the indented JSON for this token.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <c>ToString()</c> returns a non-JSON string value for tokens with a type of <see cref="JTokenType.String"/>.
|
||||
/// If you want the JSON for all token types then you should use <see cref="WriteTo(JsonWriter, JsonConverter[])"/>.
|
||||
/// </remarks>
|
||||
/// <returns>
|
||||
/// The indented JSON for this token.
|
||||
/// </returns>
|
||||
|
||||
@@ -887,6 +887,10 @@ namespace Newtonsoft.Json.Linq
|
||||
/// <summary>
|
||||
/// Returns a <see cref="String"/> that represents this instance.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <c>ToString()</c> returns a non-JSON string value for tokens with a type of <see cref="JTokenType.String"/>.
|
||||
/// If you want the JSON for all token types then you should use <see cref="WriteTo(JsonWriter, JsonConverter[])"/>.
|
||||
/// </remarks>
|
||||
/// <returns>
|
||||
/// A <see cref="String"/> that represents this instance.
|
||||
/// </returns>
|
||||
|
||||
Reference in New Issue
Block a user