override Task SerializeToStreamAsync(Stream stream, TransportContext? context, CancellationToken cancellationToken)
readonly TValue _typedValue
JsonContent(TValue inputValue, JsonTypeInfo< TValue > jsonTypeInfo)
static JsonContent Create(object? inputValue, Type inputType, MediaTypeHeaderValue? mediaType=null, JsonSerializerOptions? options=null)
async Task SerializeToStreamAsyncCore(Stream targetStream, bool async, CancellationToken cancellationToken)
override Task SerializeToStreamAsync(Stream stream, TransportContext context)
readonly JsonSerializerOptions _jsonSerializerOptions
readonly JsonTypeInfo< TValue > _typeInfo
override void SerializeToStream(Stream stream, TransportContext? context, CancellationToken cancellationToken)
JsonContent(object inputValue, Type inputType, MediaTypeHeaderValue mediaType, JsonSerializerOptions options)
override void SerializeToStream(Stream stream, TransportContext context, CancellationToken cancellationToken)
static JsonContent Create< T >(T inputValue, MediaTypeHeaderValue? mediaType=null, JsonSerializerOptions? options=null)
override bool TryComputeLength(out long length)
override Task SerializeToStreamAsync(Stream stream, TransportContext context, CancellationToken cancellationToken)
override Task SerializeToStreamAsync(Stream stream, TransportContext? context)
static Stream CreateTranscodingStream(Stream innerStream, Encoding innerStreamEncoding, Encoding outerStreamEncoding, bool leaveOpen=false)
static Task SerializeAsync(Stream utf8Json, object? value, Type inputType, JsonSerializerOptions? options=null, CancellationToken cancellationToken=default(CancellationToken))
static void Serialize(Stream utf8Json, object? value, Type inputType, JsonSerializerOptions? options=null)