@daiso-tech/core
Version:
The library offers flexible, framework-agnostic solutions for modern web applications, built on adaptable components that integrate seamlessly with popular frameworks like Next Js.
16 lines (15 loc) • 590 B
TypeScript
/**
* @module Serde
*/
import { type ISerdeTransformerAdapter, type IFlexibleSerdeAdapter } from "../../../../serde/contracts/_module-exports.js";
/**
*
* IMPORT_PATH: `"@daiso-tech/core/serde/adapters"`
* @group Adapters
*/
export declare class SuperJsonSerdeAdapter implements IFlexibleSerdeAdapter<string> {
private readonly superJson;
registerCustom<TCustomSerialized, TCustomDeserialized>(transformer: ISerdeTransformerAdapter<TCustomSerialized, TCustomDeserialized>): void;
serialize<TValue>(value: TValue): string;
deserialize<TValue>(value: string): TValue;
}