Refit.SystemTextJsonQueryConverter<T>
An IQueryConverter<T> that flattens a query parameter by walking the JsonTypeInfo of the
configured SystemTextJsonContentSerializer, reusing a registered JsonSerializerContext so
arbitrary (including polymorphic) types flatten without hand-written code. Attach it with
[QueryConverter(typeof(SystemTextJsonQueryConverter<MyType>))].
public SystemTextJsonQueryConverter()
public void Flatten(T value, string keyPrefix, ref GeneratedQueryStringBuilder builder, RefitSettings settings)