UNPKG

json-type-cli

Version:

High-performance JSON Pointer implementation

8 lines (7 loc) 305 B
import type { CliCodec } from '../types'; export declare class CliCodecText implements CliCodec<'text'> { readonly id = "text"; readonly description = "Human-readalbe single-line representation of the JSON object"; encode(value: unknown): Uint8Array; decode(bytes: Uint8Array): unknown; }