Refit.JsonContentSerializer
An obsolete JSON content serializer that has been replaced by serializers in dedicated packages.
public JsonContentSerializer()
public Task<T> FromHttpContentAsync<T>(HttpContent content, CancellationToken cancellationToken = default)
Deserializes an object of type T from an HttpContent object.
Calculates what the field name should be for the given property. This may be affected by custom attributes the serializer understands.
Converts to httpcontent.