File tree 4 files changed +12
-12
lines changed
src/libraries/System.Text.Json/src/System/Text/Json/Serialization
4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 4
4
namespace System . Text . Json . Serialization
5
5
{
6
6
/// <summary>
7
- /// Specifies that the JSON object should have its <see cref="OnDeserialized"/> method called
8
- /// after deserialization occurs.
7
+ /// Specifies that the JSON type should have its <see cref="OnDeserialized"/> method called after deserialization occurs.
9
8
/// </summary>
10
9
/// <remarks>
11
- /// Only JSON objects using the default custom converter support this behavior; collections, dictionaries and values do not.
10
+ /// This behavior is only supported on types representing JSON objects.
11
+ /// Types that have a custom converter or represent collections or values do not support this behavior.
12
12
/// </remarks>
13
13
public interface IJsonOnDeserialized
14
14
{
Original file line number Diff line number Diff line change 4
4
namespace System . Text . Json . Serialization
5
5
{
6
6
/// <summary>
7
- /// Specifies that the JSON object should have its <see cref="OnDeserializing"/> method called
8
- /// before deserialization occurs.
7
+ /// Specifies that the type should have its <see cref="OnDeserializing"/> method called before deserialization occurs.
9
8
/// </summary>
10
9
/// <remarks>
11
- /// Only JSON objects using the default custom converter support this behavior; collections, dictionaries and values do not.
10
+ /// This behavior is only supported on types representing JSON objects.
11
+ /// Types that have a custom converter or represent collections or values do not support this behavior.
12
12
/// </remarks>
13
13
public interface IJsonOnDeserializing
14
14
{
Original file line number Diff line number Diff line change 4
4
namespace System . Text . Json . Serialization
5
5
{
6
6
/// <summary>
7
- /// Specifies that the JSON object should have its <see cref="OnSerialized"/> method called
8
- /// after serialization occurs.
7
+ /// Specifies that the type should have its <see cref="OnSerialized"/> method called after serialization occurs.
9
8
/// </summary>
10
9
/// <remarks>
11
- /// Only JSON objects using the default custom converter support this behavior; collections, dictionaries and values do not.
10
+ /// This behavior is only supported on types representing JSON objects.
11
+ /// Types that have a custom converter or represent collections or values do not support this behavior.
12
12
/// </remarks>
13
13
public interface IJsonOnSerialized
14
14
{
Original file line number Diff line number Diff line change 4
4
namespace System . Text . Json . Serialization
5
5
{
6
6
/// <summary>
7
- /// Specifies that the JSON object should have its <see cref="OnSerializing"/> method called
8
- /// before serialization occurs.
7
+ /// Specifies that the type should have its <see cref="OnSerializing"/> method called before serialization occurs.
9
8
/// </summary>
10
9
/// <remarks>
11
- /// Only JSON objects using the default custom converter support this behavior; collections, dictionaries and values do not.
10
+ /// This behavior is only supported on types representing JSON objects.
11
+ /// Types that have a custom converter or represent collections or values do not support this behavior.
12
12
/// </remarks>
13
13
public interface IJsonOnSerializing
14
14
{
You can’t perform that action at this time.
0 commit comments