{"id":48685288,"url":"https://github.com/haskell-miso/servant-miso-json","last_synced_at":"2026-04-11T04:00:32.356Z","repository":{"id":338039908,"uuid":"1156306912","full_name":"haskell-miso/servant-miso-json","owner":"haskell-miso","description":"A servant content type for miso JSON","archived":false,"fork":false,"pushed_at":"2026-02-13T02:07:55.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-11T04:00:20.267Z","etag":null,"topics":["haskell","json","miso","servant"],"latest_commit_sha":null,"homepage":"","language":"Haskell","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/haskell-miso.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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},"funding":{"open_collective":"miso","github":["dmjio"]}},"created_at":"2026-02-12T13:58:34.000Z","updated_at":"2026-02-13T02:07:56.000Z","dependencies_parsed_at":"2026-04-11T04:00:19.731Z","dependency_job_id":null,"html_url":"https://github.com/haskell-miso/servant-miso-json","commit_stats":null,"previous_names":["haskell-miso/servant-miso-json"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/haskell-miso/servant-miso-json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell-miso%2Fservant-miso-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell-miso%2Fservant-miso-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell-miso%2Fservant-miso-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell-miso%2Fservant-miso-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haskell-miso","download_url":"https://codeload.github.com/haskell-miso/servant-miso-json/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell-miso%2Fservant-miso-json/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31668050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"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":["haskell","json","miso","servant"],"created_at":"2026-04-11T04:00:14.273Z","updated_at":"2026-04-11T04:00:32.344Z","avatar_url":"https://github.com/haskell-miso.png","language":"Haskell","funding_links":["https://opencollective.com/miso","https://github.com/sponsors/dmjio"],"categories":[],"sub_categories":[],"readme":"servant-miso-json\n============================\n\nThis package provides a `JSON` content type for use with [servant](https://hackage.haskell.org/packages/servant) APIs. This can be used to render [miso](https://github.com/dmjio/miso) `Value` types as JSON.\n\n### Usage\n\n```haskell\nimport Servant.Miso.JSON (JSON)\nimport Miso.String (MisoString)\nimport Miso.JSON (ToJSON)\n\ndata Person\n  = Person\n  { name :: MisoString\n  , age :: Int\n  } deriving stock Generic\n    deriving anyclass ToJSON\n\ntype API = \"person\" :\u003e Capture \"name\" MisoString :\u003e Get '[JSON] Person\n```\n\n## Build\n\n```shell\ncabal build\n```\n\n```shell\nnix develop --command bash -c 'cabal build'\n```\n\n# Develop\n\n```shell\nnix develop\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaskell-miso%2Fservant-miso-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaskell-miso%2Fservant-miso-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaskell-miso%2Fservant-miso-json/lists"}