@mojotech/json-type-validation
Version:
runtime type checking and validation of untyped JSON data
5 lines (4 loc) • 339 B
TypeScript
import * as Result from './result';
export { Result };
export { Decoder, DecoderError, isDecoderError, DecoderObject } from './decoder';
export { string, number, boolean, anyJson, unknownJson, constant, object, array, tuple, dict, optional, oneOf, union, intersection, withDefault, valueAt, succeed, fail, lazy } from './combinators';