UNPKG

@jsonjoy.com/json-pack

Version:

High-performance JSON serialization library

8 lines (7 loc) 308 B
import { CborEncoder } from './CborEncoder'; export declare class CborEncoderStable extends CborEncoder { writeObj(obj: Record<string, unknown>): void; /** @todo This implementation might be even faster than the default one, verify that. */ writeStr(str: string): void; writeUndef(): void; }