Skip to content
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.
Comment thread
adamsitnik marked this conversation as resolved.
Outdated
/// </remarks>
/// <returns>
/// A string from the value of this instance, using UTF-8 to decode the bytes.
/// </returns>
Expand Down