Skip to content

Response.variables.readJsonWithSchema

fx-fetch


fx-fetch / Response / readJsonWithSchema

const readJsonWithSchema: {<A, I, R>(response, schema): Effect<A, MalformedJsonError | ParseError, R>; <A, I, R>(schema): (response) => Effect<A, MalformedJsonError | ParseError, R>; }

Defined in: packages/fx-fetch/src/Response/readJsonWithSchema.ts:21

Reads a JSON response with the given schema.

<A, I, R>(response, schema): Effect<A, MalformedJsonError | ParseError, R>

Reads a JSON response with the given schema.

A

I

R

Response

Schema<A, I, R>

Effect<A, MalformedJsonError | ParseError, R>

0.1.0

<A, I, R>(schema): (response) => Effect<A, MalformedJsonError | ParseError, R>

Reads a JSON response with the given schema.

A

I

R

Schema<A, I, R>

(response): Effect<A, MalformedJsonError | ParseError, R>

Response

Effect<A, MalformedJsonError | ParseError, R>

0.1.0

0.1.0