1 <?xml version="1.0" encoding="utf-8"?>
4 <name>System.Net.Http.Json</name>
7 <member name="T:System.Net.Http.Json.HttpClientJsonExtensions">
8 <summary>Contains extension methods to send and receive HTTP content as JSON.</summary>
10 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)">
11 <summary>Sends a GET request to the specified Uri and returns the value that results from deserializing the response body as JSON in an asynchronous operation.</summary>
12 <param name="client">The client used to send the request.</param>
13 <param name="requestUri">The Uri the request is sent to.</param>
14 <param name="type">The type of the object to deserialize to and return.</param>
15 <param name="options">Options to control the behavior during deserialization. The default options are those specified by <see cref="F:System.Text.Json.JsonSerializerDefaults.Web" />.</param>
16 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
17 <returns>The task object representing the asynchronous operation.</returns>
19 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)">
20 <summary>Sends a GET request to the specified Uri and returns the value that results from deserializing the response body as JSON in an asynchronous operation.</summary>
21 <param name="client">The client used to send the request.</param>
22 <param name="requestUri">The Uri the request is sent to.</param>
23 <param name="type">The type of the object to deserialize to and return.</param>
24 <param name="context">Source generated JsonSerializerContext used to control the deserialization behavior.</param>
25 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
26 <returns>The task object representing the asynchronous operation.</returns>
28 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Threading.CancellationToken)">
29 <summary>Sends a GET request to the specified Uri and returns the value that results from deserializing the response body as JSON in an asynchronous operation.</summary>
30 <param name="client">The client used to send the request.</param>
31 <param name="requestUri">The Uri the request is sent to.</param>
32 <param name="type">The type of the object to deserialize to and return.</param>
33 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
34 <returns>The task object representing the asynchronous operation.</returns>
36 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)">
37 <summary>Sends a GET request to the specified Uri and returns the value that results from deserializing the response body as JSON in an asynchronous operation.</summary>
38 <param name="client">The client used to send the request.</param>
39 <param name="requestUri">The Uri the request is sent to.</param>
40 <param name="type">The type of the object to deserialize to and return.</param>
41 <param name="options">Options to control the behavior during deserialization. The default options are those specified by <see cref="F:System.Text.Json.JsonSerializerDefaults.Web" />.</param>
42 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
43 <returns>The task object representing the asynchronous operation.</returns>
45 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)">
46 <summary>Sends a GET request to the specified Uri and returns the value that results from deserializing the response body as JSON in an asynchronous operation.</summary>
47 <param name="client">The client used to send the request.</param>
48 <param name="requestUri">The Uri the request is sent to.</param>
49 <param name="type">The type of the object to deserialize to and return.</param>
50 <param name="context">Source generated JsonSerializerContext used to control the deserialization behavior.</param>
51 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
52 <returns>The task object representing the asynchronous operation.</returns>
54 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Threading.CancellationToken)">
55 <summary>Sends a GET request to the specified Uri and returns the value that results from deserializing the response body as JSON in an asynchronous operation.</summary>
56 <param name="client">The client used to send the request.</param>
57 <param name="requestUri">The Uri the request is sent to.</param>
58 <param name="type">The type of the object to deserialize to and return.</param>
59 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
60 <returns>The task object representing the asynchronous operation.</returns>
62 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync``1(System.Net.Http.HttpClient,System.String,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)">
63 <summary>Sends a GET request to the specified Uri and returns the value that results from deserializing the response body as JSON in an asynchronous operation.</summary>
64 <param name="client">The client used to send the request.</param>
65 <param name="requestUri">The Uri the request is sent to.</param>
66 <param name="options">Options to control the behavior during deserialization. The default options are those specified by <see cref="F:System.Text.Json.JsonSerializerDefaults.Web" />.</param>
67 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
68 <typeparam name="TValue">The target type to deserialize to.</typeparam>
69 <returns>The task object representing the asynchronous operation.</returns>
71 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync``1(System.Net.Http.HttpClient,System.String,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0},System.Threading.CancellationToken)">
72 <summary>Sends a GET request to the specified Uri and returns the value that results from deserializing the response body as JSON in an asynchronous operation.</summary>
73 <param name="client">The client used to send the request.</param>
74 <param name="requestUri">The Uri the request is sent to.</param>
75 <param name="jsonTypeInfo">Source generated JsonTypeInfo to control the behavior during deserialization.</param>
76 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
77 <typeparam name="TValue">The target type to deserialize to.</typeparam>
78 <returns>The task object representing the asynchronous operation.</returns>
80 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync``1(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)">
81 <summary>Sends a GET request to the specified Uri and returns the value that results from deserializing the response body as JSON in an asynchronous operation.</summary>
82 <param name="client">The client used to send the request.</param>
83 <param name="requestUri">The Uri the request is sent to.</param>
84 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
85 <typeparam name="TValue">The target type to deserialize to.</typeparam>
86 <returns>The task object representing the asynchronous operation.</returns>
88 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync``1(System.Net.Http.HttpClient,System.Uri,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)">
89 <summary>Sends a GET request to the specified Uri and returns the value that results from deserializing the response body as JSON in an asynchronous operation.</summary>
90 <param name="client">The client used to send the request.</param>
91 <param name="requestUri">The Uri the request is sent to.</param>
92 <param name="options">Options to control the behavior during deserialization. The default options are those specified by <see cref="F:System.Text.Json.JsonSerializerDefaults.Web" />.</param>
93 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
94 <typeparam name="TValue">The target type to deserialize to.</typeparam>
95 <returns>The task object representing the asynchronous operation.</returns>
97 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync``1(System.Net.Http.HttpClient,System.Uri,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0},System.Threading.CancellationToken)">
98 <summary>Sends a GET request to the specified Uri and returns the value that results from deserializing the response body as JSON in an asynchronous operation.</summary>
99 <param name="client">The client used to send the request.</param>
100 <param name="requestUri">The Uri the request is sent to.</param>
101 <param name="jsonTypeInfo">Source generated JsonTypeInfo to control the behavior during deserialization.</param>
102 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
103 <typeparam name="TValue">The target type to deserialize to.</typeparam>
104 <returns>The task object representing the asynchronous operation.</returns>
106 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync``1(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)">
107 <summary>Sends a GET request to the specified Uri and returns the value that results from deserializing the response body as JSON in an asynchronous operation.</summary>
108 <param name="client">The client used to send the request.</param>
109 <param name="requestUri">The Uri the request is sent to.</param>
110 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
111 <typeparam name="TValue">The target type to deserialize to.</typeparam>
112 <returns>The task object representing the asynchronous operation.</returns>
114 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)">
115 <summary>Sends a POST request to the specified Uri containing the <paramref name="value" /> serialized as JSON in the request body.</summary>
116 <param name="client">The client used to send the request.</param>
117 <param name="requestUri">The Uri the request is sent to.</param>
118 <param name="value">The value to serialize.</param>
119 <param name="options">Options to control the behavior during serialization. The default options are those specified by <see cref="F:System.Text.Json.JsonSerializerDefaults.Web" />.</param>
120 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
121 <typeparam name="TValue">The type of the value to serialize.</typeparam>
122 <returns>The task object representing the asynchronous operation.</returns>
124 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0},System.Threading.CancellationToken)">
125 <summary>Sends a POST request to the specified Uri containing the <paramref name="value" /> serialized as JSON in the request body.</summary>
126 <param name="client">The client used to send the request.</param>
127 <param name="requestUri">The Uri the request is sent to.</param>
128 <param name="value">The value to serialize.</param>
129 <param name="jsonTypeInfo">Source generated JsonTypeInfo to control the behavior during serialization.</param>
130 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
131 <typeparam name="TValue">The type of the value to serialize.</typeparam>
132 <returns>The task object representing the asynchronous operation.</returns>
134 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Threading.CancellationToken)">
135 <summary>Sends a POST request to the specified Uri containing the <paramref name="value" /> serialized as JSON in the request body.</summary>
136 <param name="client">The client used to send the request.</param>
137 <param name="requestUri">The Uri the request is sent to.</param>
138 <param name="value">The value to serialize.</param>
139 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
140 <typeparam name="TValue">The type of the value to serialize.</typeparam>
141 <returns>The task object representing the asynchronous operation.</returns>
143 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)">
144 <summary>Sends a POST request to the specified Uri containing the <paramref name="value" /> serialized as JSON in the request body.</summary>
145 <param name="client">The client used to send the request.</param>
146 <param name="requestUri">The Uri the request is sent to.</param>
147 <param name="value">The value to serialize.</param>
148 <param name="options">Options to control the behavior during serialization. The default options are those specified by <see cref="F:System.Text.Json.JsonSerializerDefaults.Web" />.</param>
149 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
150 <typeparam name="TValue">The type of the value to serialize.</typeparam>
151 <returns>The task object representing the asynchronous operation.</returns>
153 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0},System.Threading.CancellationToken)">
154 <summary>Sends a POST request to the specified Uri containing the <paramref name="value" /> serialized as JSON in the request body.</summary>
155 <param name="client">The client used to send the request.</param>
156 <param name="requestUri">The Uri the request is sent to.</param>
157 <param name="value">The value to serialize.</param>
158 <param name="jsonTypeInfo">Source generated JsonTypeInfo to control the behavior during serialization.</param>
159 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
160 <typeparam name="TValue">The type of the value to serialize.</typeparam>
161 <returns>The task object representing the asynchronous operation.</returns>
163 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Threading.CancellationToken)">
164 <summary>Sends a POST request to the specified Uri containing the <paramref name="value" /> serialized as JSON in the request body.</summary>
165 <param name="client">The client used to send the request.</param>
166 <param name="requestUri">The Uri the request is sent to.</param>
167 <param name="value">The value to serialize.</param>
168 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
169 <typeparam name="TValue">The type of the value to serialize.</typeparam>
170 <returns>The task object representing the asynchronous operation.</returns>
172 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.PutAsJsonAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)">
173 <summary>Send a PUT request to the specified Uri containing the <paramref name="value" /> serialized as JSON in the request body.</summary>
174 <param name="client">The client used to send the request.</param>
175 <param name="requestUri">The Uri the request is sent to.</param>
176 <param name="value">The value to serialize.</param>
177 <param name="options">Options to control the behavior during serialization. The default options are those specified by <see cref="F:System.Text.Json.JsonSerializerDefaults.Web" />.</param>
178 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
179 <typeparam name="TValue">The type of the value to serialize.</typeparam>
180 <returns>The task object representing the asynchronous operation.</returns>
182 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.PutAsJsonAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0},System.Threading.CancellationToken)">
183 <summary>Send a PUT request to the specified Uri containing the <paramref name="value" /> serialized as JSON in the request body.</summary>
184 <param name="client">The client used to send the request.</param>
185 <param name="requestUri">The Uri the request is sent to.</param>
186 <param name="value">The value to serialize.</param>
187 <param name="jsonTypeInfo">Source generated JsonTypeInfo to control the behavior during serialization.</param>
188 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
189 <typeparam name="TValue">The type of the value to serialize.</typeparam>
190 <returns>The task object representing the asynchronous operation.</returns>
192 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.PutAsJsonAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Threading.CancellationToken)">
193 <summary>Send a PUT request to the specified Uri containing the <paramref name="value" /> serialized as JSON in the request body.</summary>
194 <param name="client">The client used to send the request.</param>
195 <param name="requestUri">The Uri the request is sent to.</param>
196 <param name="value">The value to serialize.</param>
197 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
198 <typeparam name="TValue">The type of the value to serialize.</typeparam>
199 <returns>The task object representing the asynchronous operation.</returns>
201 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.PutAsJsonAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)">
202 <summary>Send a PUT request to the specified Uri containing the <paramref name="value" /> serialized as JSON in the request body.</summary>
203 <param name="client">The client used to send the request.</param>
204 <param name="requestUri">The Uri the request is sent to.</param>
205 <param name="value">The value to serialize.</param>
206 <param name="options">Options to control the behavior during serialization. The default options are those specified by <see cref="F:System.Text.Json.JsonSerializerDefaults.Web" />.</param>
207 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
208 <typeparam name="TValue">The type of the value to serialize.</typeparam>
209 <returns>The task object representing the asynchronous operation.</returns>
211 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.PutAsJsonAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0},System.Threading.CancellationToken)">
212 <summary>Send a PUT request to the specified Uri containing the <paramref name="value" /> serialized as JSON in the request body.</summary>
213 <param name="client">The client used to send the request.</param>
214 <param name="requestUri">The Uri the request is sent to.</param>
215 <param name="value">The value to serialize.</param>
216 <param name="jsonTypeInfo">Source generated JsonTypeInfo to control the behavior during serialization.</param>
217 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
218 <typeparam name="TValue">The type of the value to serialize.</typeparam>
219 <returns>The task object representing the asynchronous operation.</returns>
221 <member name="M:System.Net.Http.Json.HttpClientJsonExtensions.PutAsJsonAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Threading.CancellationToken)">
222 <summary>Send a PUT request to the specified Uri containing the <paramref name="value" /> serialized as JSON in the request body.</summary>
223 <param name="client">The client used to send the request.</param>
224 <param name="requestUri">The Uri the request is sent to.</param>
225 <param name="value">The value to serialize.</param>
226 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
227 <typeparam name="TValue">The type of the value to serialize.</typeparam>
228 <returns>The task object representing the asynchronous operation.</returns>
230 <member name="T:System.Net.Http.Json.HttpContentJsonExtensions">
231 <summary>Contains extension methods to read and then parse the <see cref="T:System.Net.Http.HttpContent" /> from JSON.</summary>
233 <member name="M:System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsync(System.Net.Http.HttpContent,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)">
234 <summary>Reads the HTTP content and returns the value that results from deserializing the content as JSON in an asynchronous operation.</summary>
235 <param name="content">The content to read from.</param>
236 <param name="type">The type of the object to deserialize to and return.</param>
237 <param name="options">Options to control the behavior during deserialization. The default options are those specified by <see cref="F:System.Text.Json.JsonSerializerDefaults.Web" />.</param>
238 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
239 <returns>The task object representing the asynchronous operation.</returns>
241 <member name="M:System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsync(System.Net.Http.HttpContent,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)">
242 <summary>Reads the HTTP content and returns the value that results from deserializing the content as JSON in an asynchronous operation.</summary>
243 <param name="content">The content to read from.</param>
244 <param name="type">The type of the object to deserialize to and return.</param>
245 <param name="context">Source generated JsonSerializerContext used to control the behavior during deserialization.</param>
246 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
247 <returns>The task object representing the asynchronous operation.</returns>
249 <member name="M:System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsync``1(System.Net.Http.HttpContent,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)">
250 <summary>Reads the HTTP content and returns the value that results from deserializing the content as JSON in an asynchronous operation.</summary>
251 <param name="content">The content to read from.</param>
252 <param name="options">Options to control the behavior during deserialization. The default options are those specified by <see cref="F:System.Text.Json.JsonSerializerDefaults.Web" />.</param>
253 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
254 <typeparam name="T">The target type to deserialize to.</typeparam>
255 <returns>The task object representing the asynchronous operation.</returns>
257 <member name="M:System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsync``1(System.Net.Http.HttpContent,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0},System.Threading.CancellationToken)">
258 <summary>Reads the HTTP content and returns the value that results from deserializing the content as JSON in an asynchronous operation.</summary>
259 <param name="content">The content to read from.</param>
260 <param name="jsonTypeInfo">Source generated JsonTypeInfo to control the behavior during deserialization.</param>
261 <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
262 <typeparam name="T">The target type to deserialize to.</typeparam>
263 <returns>The task object representing the asynchronous operation.</returns>
265 <member name="T:System.Net.Http.Json.JsonContent">
266 <summary>Provides HTTP content based on JSON.</summary>
268 <member name="M:System.Net.Http.Json.JsonContent.Create(System.Object,System.Type,System.Net.Http.Headers.MediaTypeHeaderValue,System.Text.Json.JsonSerializerOptions)">
269 <summary>Creates a new instance of the <see cref="T:System.Net.Http.Json.JsonContent" /> class that will contain the <paramref name="inputValue" /> serialized as JSON.</summary>
270 <param name="inputValue">The value to serialize.</param>
271 <param name="inputType">The type of the value to serialize.</param>
272 <param name="mediaType">The media type to use for the content.</param>
273 <param name="options">Options to control the behavior during serialization, the default options are <see cref="F:System.Text.Json.JsonSerializerDefaults.Web" />.</param>
274 <returns>A <see cref="T:System.Net.Http.Json.JsonContent" /> instance.</returns>
276 <member name="M:System.Net.Http.Json.JsonContent.Create``1(``0,System.Net.Http.Headers.MediaTypeHeaderValue,System.Text.Json.JsonSerializerOptions)">
277 <summary>Creates a new instance of the <see cref="T:System.Net.Http.Json.JsonContent" /> class that will contain the <paramref name="inputValue" /> serialized as JSON.</summary>
278 <param name="inputValue">The value to serialize.</param>
279 <param name="mediaType">The media type to use for the content.</param>
280 <param name="options">Options to control the behavior during serialization, the default options are <see cref="F:System.Text.Json.JsonSerializerDefaults.Web" />.</param>
281 <typeparam name="T">The type of the value to serialize.</typeparam>
282 <returns>A <see cref="T:System.Net.Http.Json.JsonContent" /> instance.</returns>
284 <member name="P:System.Net.Http.Json.JsonContent.ObjectType">
285 <summary>Gets the type of the <see cref="P:System.Net.Http.Json.JsonContent.Value" /> to be serialized by this instance.</summary>
286 <returns>The type of the <see cref="P:System.Net.Http.Json.JsonContent.Value" /> to be serialized by this instance.</returns>
288 <member name="P:System.Net.Http.Json.JsonContent.Value">
289 <summary>Gets the value to be serialized and used as the body of the <see cref="T:System.Net.Http.HttpRequestMessage" /> that sends this instance.</summary>
290 <returns>The value to be serialized and used as the body of the <see cref="T:System.Net.Http.HttpRequestMessage" /> that sends this instance.</returns>