@bluelibs/runner - v5.5.0
    Preparing search index...

    Interface SerializerLike

    Minimal serializer contract used across transports and persistence. Implementations must be able to round-trip JSON-compatible payloads and should support custom value types via addType.

    interface SerializerLike {
        addType?<TInstance, TSerialized>(
            typeDef: TypeDefinition<TInstance, TSerialized>,
        ): void;
        parse<T = unknown>(text: string): T;
        stringify(value: unknown): string;
    }
    Index

    Methods