Class LowLevelRequestResponseSerializer
Inheritance
LowLevelRequestResponseSerializer
Assembly: OpenSearch.Net.dll
Syntax
public class LowLevelRequestResponseSerializer : IOpenSearchSerializer
Fields
|
Edit this page
View Source
Instance
Declaration
public static readonly LowLevelRequestResponseSerializer Instance
Field Value
Methods
|
Edit this page
View Source
Deserialize(Type, Stream)
Deserialize stream
to an instance of type
Declaration
public object Deserialize(Type type, Stream stream)
Parameters
Returns
|
Edit this page
View Source
DeserializeAsync(Type, Stream, CancellationToken)
Deserialize stream
to an instance of type
Declaration
public Task<object> DeserializeAsync(Type type, Stream stream, CancellationToken cancellationToken = default)
Parameters
Returns
|
Edit this page
View Source
DeserializeAsync<T>(Stream, CancellationToken)
Deserialize stream
to an instance of T
Declaration
public Task<T> DeserializeAsync<T>(Stream stream, CancellationToken cancellationToken = default)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
Deserialize<T>(Stream)
Deserialize stream
to an instance of T
Declaration
public T Deserialize<T>(Stream stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
|
Returns
Type Parameters
|
Edit this page
View Source
Serialize an instance of T
to stream
using formatting
.
Declaration
public Task SerializeAsync<T>(T data, Stream writableStream, SerializationFormatting formatting, CancellationToken cancellationToken = default)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
Serialize an instance of T
to stream
using formatting
.
Declaration
public void Serialize<T>(T data, Stream writableStream, SerializationFormatting formatting = SerializationFormatting.None)
Parameters
Type Parameters
Implements
Extension Methods