Skip to content
Merged
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ namespace System.Text.Json
public static partial class JsonSerializer
{
/// <summary>
/// Converts the provided value into a <see cref="JsonDocument"/>.
/// Converts the provided value into a <see cref="JsonElement"/>.
/// </summary>
/// <typeparam name="TValue">The type of the value to serialize.</typeparam>
/// <returns>A <see cref="JsonDocument"/> representation of the JSON value.</returns>
/// <returns>A <see cref="JsonElement"/> representation of the JSON value.</returns>
/// <param name="value">The value to convert.</param>
/// <param name="options">Options to control the conversion behavior.</param>
/// <exception cref="NotSupportedException">
Expand All @@ -30,9 +30,9 @@ public static JsonElement SerializeToElement<TValue>(TValue value, JsonSerialize
}

/// <summary>
/// Converts the provided value into a <see cref="JsonDocument"/>.
/// Converts the provided value into a <see cref="JsonElement"/>.
/// </summary>
/// <returns>A <see cref="JsonDocument"/> representation of the value.</returns>
/// <returns>A <see cref="JsonElement"/> representation of the value.</returns>
/// <param name="value">The value to convert.</param>
/// <param name="inputType">The type of the <paramref name="value"/> to convert.</param>
/// <param name="options">Options to control the conversion behavior.</param>
Expand All @@ -55,10 +55,10 @@ public static JsonElement SerializeToElement(object? value, Type inputType, Json
}

/// <summary>
/// Converts the provided value into a <see cref="JsonDocument"/>.
/// Converts the provided value into a <see cref="JsonElement"/>.
/// </summary>
/// <typeparam name="TValue">The type of the value to serialize.</typeparam>
/// <returns>A <see cref="JsonDocument"/> representation of the value.</returns>
/// <returns>A <see cref="JsonElement"/> representation of the value.</returns>
/// <param name="value">The value to convert.</param>
/// <param name="jsonTypeInfo">Metadata about the type to convert.</param>
/// <exception cref="NotSupportedException">
Expand All @@ -79,9 +79,9 @@ public static JsonElement SerializeToElement<TValue>(TValue value, JsonTypeInfo<
}

/// <summary>
/// Converts the provided value into a <see cref="JsonDocument"/>.
/// Converts the provided value into a <see cref="JsonElement"/>.
/// </summary>
/// <returns>A <see cref="JsonDocument"/> representation of the value.</returns>
/// <returns>A <see cref="JsonElement"/> representation of the value.</returns>
/// <param name="value">The value to convert.</param>
/// <param name="inputType">The type of the <paramref name="value"/> to convert.</param>
/// <param name="context">A metadata provider for serializable types.</param>
Expand Down