{"id":23120802,"url":"https://github.com/koron-go/jsonhttpc","last_synced_at":"2026-05-01T14:32:40.204Z","repository":{"id":57511468,"uuid":"239318007","full_name":"koron-go/jsonhttpc","owner":"koron-go","description":" Make it easy to send and receive HTTP requests with JSON bodies","archived":false,"fork":false,"pushed_at":"2026-03-25T12:34:36.000Z","size":44,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-26T15:39:12.228Z","etag":null,"topics":["http-client","json"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koron-go.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-02-09T14:28:14.000Z","updated_at":"2026-03-25T12:34:40.000Z","dependencies_parsed_at":"2025-08-17T00:32:35.452Z","dependency_job_id":"cce80e85-8e7b-45a1-a720-5ce9616a2d4e","html_url":"https://github.com/koron-go/jsonhttpc","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/koron-go/jsonhttpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koron-go%2Fjsonhttpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koron-go%2Fjsonhttpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koron-go%2Fjsonhttpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koron-go%2Fjsonhttpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koron-go","download_url":"https://codeload.github.com/koron-go/jsonhttpc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koron-go%2Fjsonhttpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32501399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["http-client","json"],"created_at":"2024-12-17T06:14:04.409Z","updated_at":"2026-05-01T14:32:40.180Z","avatar_url":"https://github.com/koron-go.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSON-specialized HTTP client\n\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/koron-go/jsonhttpc)](https://pkg.go.dev/github.com/koron-go/jsonhttpc)\n[![Actions/Go](https://github.com/koron-go/jsonhttpc/workflows/Go/badge.svg)](https://github.com/koron-go/jsonhttpc/actions?query=workflow%3AGo)\n[![Go Report Card](https://goreportcard.com/badge/github.com/koron-go/jsonhttpc)](https://goreportcard.com/report/github.com/koron-go/jsonhttpc)\n\nPackage jsonhttpc provides a way to easily send and receive HTTP requests with JSON bodies.\n\n*   Request and response is encoded/decoded as JSON automatically.\n*   Bit handy for repeating requests.\n    *   specify base URL - `WithBaseURL()`\n    *   specify HTTP Client - `WithClient()`\n    *   specify HTTP header - `WithHeader()`\n*   Tips to customize requests - for `Do()`\n    *   `ContentType() string` on `body` overrides \"Content-Type\" header.\n        (default is \"application/json\")\n*   Responses are automatically JSON-decoded even in case of errors - `Error`\n    *   Most of JSON properties are put into\n        `Properties map[string]interface{}`\n    *   Error responses that follow [RFC7808 Problem Details for HTTP APIs][rfc7808] are a bit easier to handle.\n\n(Japanese)\n\n*   リクエストとレスポンスは自動的にJSONエンコード/デコードされます\n*   リクエストを繰り返し行うのに少し便利です\n    *   ベースURLを設定できる `WithBaseURL()`\n    *   HTTP Clientを設定できる `WithClient()`\n    *   ヘッダーを設定できる `WithHeader()`\n*   リクエストをカスタマイズするtipsがあります - for `Do()` \n    *   `body` に `ContentType() string` を実装するとContent-Typeヘッダーを変更\n        できます (デフォルトは `application/json`)\n*   エラーの際もレスポンスは自動的にJSONデコードされます\n    *   `Error.Properties` に `map[string]interface{}` で入ります\n    *   [RFC7808 Problem Details for HTTP APIs][rfc7808] は少し楽できます\n\n[rfc7808]:https://tools.ietf.org/html/rfc7807\n\n## Install and update\n\n```console\n$ go get github.com/koron-go/jsonhttpc@latest\n```\n\n## How to use\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoron-go%2Fjsonhttpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoron-go%2Fjsonhttpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoron-go%2Fjsonhttpc/lists"}