Class OpenSearchSerializerExtensions
Inheritance
OpenSearchSerializerExtensions
Assembly: OpenSearch.Net.dll
Syntax
public static class OpenSearchSerializerExtensions
Methods
|
Edit this page
View Source
Extension method that serializes an instance of T
to a byte array.
Declaration
public static byte[] SerializeToBytes<T>(this IOpenSearchSerializer serializer, T data, IMemoryStreamFactory memoryStreamFactory, SerializationFormatting formatting = SerializationFormatting.None)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
Extension method that serializes an instance of T
to a byte array.
Declaration
public static byte[] SerializeToBytes<T>(this IOpenSearchSerializer serializer, T data, SerializationFormatting formatting = SerializationFormatting.None)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
Extension method that serializes an instance of T
to a string.
Declaration
public static string SerializeToString<T>(this IOpenSearchSerializer serializer, T data, IMemoryStreamFactory memoryStreamFactory, SerializationFormatting formatting = SerializationFormatting.None)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
Extension method that serializes an instance of T
to a string.
Declaration
public static string SerializeToString<T>(this IOpenSearchSerializer serializer, T data, SerializationFormatting formatting = SerializationFormatting.None)
Parameters
Returns
Type Parameters