Interface IOpenSearchSerializer
Assembly: OpenSearch.Net.dll
Syntax
public interface IOpenSearchSerializer
Methods
|
Edit this page
View Source
Deserialize(Type, Stream)
Deserialize stream
to an instance of type
Declaration
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
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
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
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
Task SerializeAsync<T>(T data, Stream stream, SerializationFormatting formatting = SerializationFormatting.None, CancellationToken cancellationToken = default)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
Serialize an instance of T
to stream
using formatting
.
Declaration
void Serialize<T>(T data, Stream stream, SerializationFormatting formatting = SerializationFormatting.None)
Parameters
Type Parameters
Extension Methods