Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve docs for BinaryData.ToString() #56325

Merged
merged 3 commits into from
Aug 11, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/libraries/System.Memory.Data/src/System/BinaryData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,11 @@ public static BinaryData FromObjectAsJson<T>(T jsonSerializable, JsonSerializerO
/// <summary>
/// Converts the value of this instance to a string using UTF-8.
/// </summary>
/// <remarks>
/// If the underlying object is a JSON string, calling <see cref="ToString"/> will retain the wrapping double quotes in the
/// resulting string. If you want to deserialize the JSON string to a string, thereby removing the wrapping double quotes,
/// call <see cref="ToObjectFromJson{String}"/> instead.
/// </remarks>
/// <returns>
/// A string from the value of this instance, using UTF-8 to decode the bytes.
/// </returns>
Expand Down