Table of Contents

Namespace Ecng.Serialization

Classes

ContinueOnExceptionContext

Context for continue on exception.

DelayAction

Provides delayed action execution with batching support.

ISerializerExtensions

Provides extension methods for the ISerializer and ISerializer<T> interfaces to support serialization and deserialization operations with files, streams, and byte arrays.

JArrayToObjectConverter

Converts a JSON array to an object by mapping array elements to the object's fields in declaration order.

JArrayToObjectConverter<T>

Converts a JSON array to an object of type T by mapping array elements to the object's fields in declaration order using compiled IL for performance.

JsonBoolConverter

Converts boolean values to and from JSON numeric representations (1 or 0).

JsonDateTimeConverter

Provides a JSON converter for converting DateTime values from Unix timestamps.

JsonDateTimeMcsConverter

Provides a JSON converter for converting DateTime values from Unix timestamps in microseconds.

JsonDateTimeMlsConverter

Provides a JSON converter for converting DateTime values from Unix timestamps in milliseconds.

JsonDateTimeNanoConverter

Provides a JSON converter for converting DateTime values from Unix timestamps in nanoseconds.

JsonHelper

Provides helper methods for JSON serialization and deserialization.

JsonSerializer<T>

Provides JSON serialization and deserialization for a given type.

PersistableHelper

Provides helper methods for persisting, cloning, loading and saving objects.

Serializer<T>

Provides an abstract base class for type-specific serializers.

SettingsStorage

Provides a synchronized storage for application settings with support for XML serialization.

TransactionFileStream

Represents a transactional file stream that writes data to a temporary file and, upon disposal, commits the changes to the target file.

Interfaces

DelayAction.IGroup

Represents a group of delayed actions.

DelayAction.IGroup<T>

Represents a group of delayed actions with a specific group state.

IAsyncPersistable

Interface for objects whose state can be persisted asynchronously using a SettingsStorage.

IBatchContext

Defines a context for batch operations that supports committing transactions and resource disposal.

IJsonSerializer

Provides JSON serialization settings.

IPersistable

Interface for objects whose state can be persisted synchronously using a SettingsStorage.

IPersistableAdapter

Provides an adapter for persisting values.

ISerializer

Provides methods for serializing and deserializing objects.

ISerializer<T>

Provides methods for serializing and deserializing objects of type T.