UNPKG

tupleson

Version:

A hackable JSON serializer/deserializer

23 lines (22 loc) 1.69 kB
export { TsonCircularReferenceError, TsonError } from './errors.mjs'; export { createTson } from './sync/createTson.mjs'; export { createTsonDeserialize, createTsonParser } from './sync/deserialize.mjs'; export { createTsonSerialize, createTsonStringify } from './sync/serialize.mjs'; export { TsonOptions, TsonSerialized, TsonStringified, TsonType } from './sync/syncTypes.mjs'; export { tsonBigint } from './sync/handlers/tsonBigint.mjs'; export { tsonDate } from './sync/handlers/tsonDate.mjs'; export { tsonRegExp } from './sync/handlers/tsonRegExp.mjs'; export { tsonSet } from './sync/handlers/tsonSet.mjs'; export { tsonMap } from './sync/handlers/tsonMap.mjs'; export { tsonUndefined } from './sync/handlers/tsonUndefined.mjs'; export { TsonUnknownObjectGuardError, tsonUnknownObjectGuard } from './sync/handlers/tsonUnknownObjectGuard.mjs'; export { tsonNumberGuard } from './sync/handlers/tsonNumberGuard.mjs'; export { tsonURL } from './sync/handlers/tsonURL.mjs'; export { tsonSymbol } from './sync/handlers/tsonSymbol.mjs'; export { TsonAsyncOptions } from './async/asyncTypes.mjs'; export { TsonParseAsyncOptions, createTsonParseAsync, createTsonParseEventSource, createTsonParseJsonStreamResponse } from './async/deserializeAsync.mjs'; export { createAsyncTsonSerialize, createTsonSSEResponse, createTsonSerializeJsonStreamResponse, createTsonStreamAsync } from './async/serializeAsync.mjs'; export { TsonAbortError, TsonPromiseRejectionError, TsonStreamInterruptedError } from './async/asyncErrors.mjs'; export { tsonPromise } from './async/handlers/tsonPromise.mjs'; export { tsonAsyncIterable } from './async/handlers/tsonAsyncIterable.mjs'; import './internals/esque.mjs';