Describe the bug
When making a GET request, the deserialization don't work for the returned data.
To Reproduce
Code to reproduce the behavior:
using System.Text.Json.Serialization;
class Model
{
[JsonPropertyName("data")]
public string Data { get; set; }
}
Request request = new("<endpoint>", HttpMethod.Get);
request
.AddHeader("Authorization","")
.AcceptJson();
Result<Model> result = await request.Run<Model>();
Desktop (please complete the following information):
- Project: Request
- Version: 1.2.0 - 1.2.1 - 1.2.2
Describe the bug
When making a
GETrequest, the deserialization don't work for the returned data.To Reproduce
Code to reproduce the behavior:
Desktop (please complete the following information):