vjousse / elm-mastodon-tooty / Mastodon.Decoder

Decode from Mastodon json into Data

Definition

accessTokenDecoder : Mastodon.Model.AppRegistration -> Json.Decode.Decoder Mastodon.Model.AccessTokenResult

accessTokenDecoder

accountDecoder : Json.Decode.Decoder Mastodon.Model.Account

accountDecoder

appRegistrationDecoder : String -> String -> Json.Decode.Decoder Mastodon.Model.AppRegistration

appRegistrationDecoder

attachmentDecoder : Json.Decode.Decoder Mastodon.Model.Attachment

attachmentDecoder

contextDecoder : Json.Decode.Decoder Mastodon.Model.Context

contextDecoder

decodeClients : String -> Result Json.Decode.Error (List Mastodon.Model.Client)

decodeClients

decodeWebSocketMessage : String -> Mastodon.WebSocket.WebSocketEvent

decodeWebSocketMessage

mastodonErrorDecoder : Json.Decode.Decoder String

mastodonErrorDecoder

mentionDecoder : Json.Decode.Decoder Mastodon.Model.Mention

mentionDecoder

notificationDecoder : Json.Decode.Decoder Mastodon.Model.Notification

notificationDecoder

reblogDecoder : Json.Decode.Decoder Mastodon.Model.Reblog

reblogDecoder

relationshipDecoder : Json.Decode.Decoder Mastodon.Model.Relationship

relationshipDecoder

searchResultsDecoder : Json.Decode.Decoder Mastodon.Model.SearchResults

searchResultsDecoder

statusDecoder : Json.Decode.Decoder Mastodon.Model.Status

statusDecoder

statusSourceDecoder : Json.Decode.Decoder Mastodon.Model.StatusSource

statusSourceDecoder

tagDecoder : Json.Decode.Decoder Mastodon.Model.Tag

tagDecoder

webSocketEventDecoder : Json.Decode.Decoder Mastodon.WebSocket.WebSocketMessage

webSocketEventDecoder