Type alias Decoder<T>

Decoder<T>: {
    __opaque_type: "decoder";
    __type: T;
}

This is intended to be an opaque type. You really shouldn't be building Decoder<T> values on your own (because you can't, but TypeScript doesn't stop you). Use the exposed functions for that.

If you ever feel like something is missing, please create an issue in the GitHub repository at https://github.com/schroffl/json-mapping

Type Parameters

  • T

    When running this decoder you get a value of this type

Type declaration

  • Readonly Internal __opaque_type: "decoder"
  • Readonly Internal __type: T

Generated using TypeDoc