{"id":16711790,"url":"https://github.com/bburdette/httpjsontask","last_synced_at":"2026-04-29T19:02:06.802Z","repository":{"id":153171516,"uuid":"628402044","full_name":"bburdette/httpjsontask","owner":"bburdette","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-15T21:16:31.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-21T19:51:15.431Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bburdette.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-04-15T20:46:41.000Z","updated_at":"2023-04-15T20:47:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"940dc435-6009-4adf-becf-f3eafe39d659","html_url":"https://github.com/bburdette/httpjsontask","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"6648e03fba1d236f4592b52baf4b15a314d4d074"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bburdette%2Fhttpjsontask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bburdette%2Fhttpjsontask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bburdette%2Fhttpjsontask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bburdette%2Fhttpjsontask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bburdette","download_url":"https://codeload.github.com/bburdette/httpjsontask/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243681077,"owners_count":20330155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T20:26:31.526Z","updated_at":"2025-12-29T19:32:41.566Z","avatar_url":"https://github.com/bburdette.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HttpJsonTask\n\nThis [elm package](https://package.elm-lang.org/packages/bburdette/httpjsontask/latest/) provides some \nsupport code for building json Tasks for use with elm/http.  \n\n\n### Code example:\n\nHere's one where I wanted the time of reply along with the reply itself.  `postJsonTask` is from this lib.\n\n```\nsendZIMsgExp : String -\u003e ZI.SendMsg -\u003e (Result Http.Error ( Time.Posix, ZI.ServerResponse ) -\u003e Msg) -\u003e Cmd Msg\nsendZIMsgExp location msg tomsg =\n    postJsonTask\n        { url = location ++ \"/private\"\n        , body = Http.jsonBody (ZI.encodeSendMsg msg)\n        , decoder = ZI.serverResponseDecoder\n        }\n        |\u003e Task.andThen (\\x -\u003e Task.map (\\posix -\u003e ( posix, x )) Time.now)\n        |\u003e Task.attempt tomsg\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbburdette%2Fhttpjsontask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbburdette%2Fhttpjsontask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbburdette%2Fhttpjsontask/lists"}