@@ -6,7 +6,7 @@ public static class FluentJsonDeserialization
6
6
{
7
7
public static async Task < T ? > DeserializeJsonAsync < T > ( this Task < Stream > result )
8
8
{
9
- return await result . DeserializeJsonAsync < T > ( FluentHttpClient . DefaultJsonSerializerOptions ) ;
9
+ return await result . DeserializeJsonAsync < T > ( FluentHttpClientOptions . DefaultJsonSerializerOptions ) ;
10
10
}
11
11
12
12
public static async Task < T ? > DeserializeJsonAsync < T > ( this Task < Stream > result , JsonSerializerOptions options )
@@ -16,7 +16,7 @@ public static class FluentJsonDeserialization
16
16
17
17
public static async Task < T ? > DeserializeJsonAsync < T > ( this Task < String > result )
18
18
{
19
- return await result . DeserializeJsonAsync < T > ( FluentHttpClient . DefaultJsonSerializerOptions ) ;
19
+ return await result . DeserializeJsonAsync < T > ( FluentHttpClientOptions . DefaultJsonSerializerOptions ) ;
20
20
}
21
21
22
22
public static async Task < T ? > DeserializeJsonAsync < T > ( this Task < string > result , JsonSerializerOptions options )
@@ -26,7 +26,7 @@ public static class FluentJsonDeserialization
26
26
27
27
public static async Task < T ? > DeserializeJsonAsync < T > ( this Task < HttpResponseMessage > result )
28
28
{
29
- return await result . DeserializeJsonAsync < T > ( FluentHttpClient . DefaultJsonSerializerOptions ) ;
29
+ return await result . DeserializeJsonAsync < T > ( FluentHttpClientOptions . DefaultJsonSerializerOptions ) ;
30
30
}
31
31
32
32
public static async Task < T ? > DeserializeJsonAsync < T > ( this Task < HttpResponseMessage > taskResponse , JsonSerializerOptions options )
@@ -37,7 +37,7 @@ public static class FluentJsonDeserialization
37
37
38
38
public static async Task < T ? > DeserializeJsonAsync < T > ( this Task < HttpResponseMessage > result , Func < HttpResponseMessage , T > defaultAction )
39
39
{
40
- return await result . DeserializeJsonAsync < T > ( defaultAction , FluentHttpClient . DefaultJsonSerializerOptions ) ;
40
+ return await result . DeserializeJsonAsync < T > ( defaultAction , FluentHttpClientOptions . DefaultJsonSerializerOptions ) ;
41
41
}
42
42
43
43
public static async Task < T ? > DeserializeJsonAsync < T > ( this Task < HttpResponseMessage > taskResponse , Func < HttpResponseMessage , T > defaultAction , JsonSerializerOptions options )
@@ -50,7 +50,7 @@ public static class FluentJsonDeserialization
50
50
51
51
public static async Task < T ? > DeserializeJsonAsync < T > ( this Task < HttpResponseMessage > result , Func < HttpResponseMessage , Task < T > > defaultAction )
52
52
{
53
- return await result . DeserializeJsonAsync < T > ( defaultAction , FluentHttpClient . DefaultJsonSerializerOptions ) ;
53
+ return await result . DeserializeJsonAsync < T > ( defaultAction , FluentHttpClientOptions . DefaultJsonSerializerOptions ) ;
54
54
}
55
55
56
56
public static async Task < T ? > DeserializeJsonAsync < T > ( this Task < HttpResponseMessage > taskResponse , Func < HttpResponseMessage , Task < T > > defaultAction , JsonSerializerOptions options )
0 commit comments