Module

jinks/fetch

src/jinks/fetch.pooka

A provider can ask for JSON without accepting an unbounded response or weakening certificate checks. This capability is never installed in Tuck.

API reference

function

json

src/jinks/fetch.pooka:14
json(url: String, timeout: Int, max_bytes: Int) -> Result(
  json_data.Json,
  String
)
INFERREDfn(String, Int, Int) -> Result($package/pooka_json/pooka/json.Json, String)