noahzgordon/elm-jsonapi/3.0.0

NOTE: the latest version is 3.0.1

Rerouted (retagged, verified). The tag now points at a different commit than when this version was published. The Lamdera package server serves a copy recovered from https://github.com/noahzgordon/elm-jsonapi.

What we checked: Tag 3.0.0 now points at f2309b1f0284, not the published commit. Rebuilt with git archive from commit 4b26872c7c76 of https://github.com/noahzgordon/elm-jsonapi (zip prefix noahzgordon-elm-jsonapi-4b26872/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 2bca32d696641706fa06d77402d2cc267ea40420.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/noahzgordon/elm-jsonapi/zipball/3.0.0/

JsonApi

A library for processing and working with JSON API payloads.

Generic Data Types

type alias Document =
Document

Data type representing the entire JsonApi document.

type alias Resource =
Resource

Data type representing a single JsonApi resource.

type alias Meta =
Meta

Data type representing a JsonApi meta object. Alias for Json.Encode.Value. See: jsonapi.org/format/#document-meta

type alias ErrorObject =
{ id : Maybe String
, links : Maybe ErrorLinks
, status : Maybe String
, code : Maybe String
, title : Maybe String
, detail : Maybe String
, source : Maybe Source
, meta : Meta
}

Data type describing the types of problems that can be encountered when processing a JSON API payload.