{"id":37051830,"url":"https://github.com/njlr/thoth-json-ce","last_synced_at":"2026-01-14T05:59:22.217Z","repository":{"id":39920824,"uuid":"471329372","full_name":"njlr/thoth-json-ce","owner":"njlr","description":"Computation Expression for building Thoth.Json decoders","archived":false,"fork":false,"pushed_at":"2022-11-21T19:24:23.000Z","size":22,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-04T23:12:43.131Z","etag":null,"topics":["computation-expressions","decoder","fable","fsharp","json"],"latest_commit_sha":null,"homepage":"","language":"F#","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/njlr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-18T10:44:43.000Z","updated_at":"2025-03-19T16:59:12.000Z","dependencies_parsed_at":"2022-07-25T00:32:04.146Z","dependency_job_id":null,"html_url":"https://github.com/njlr/thoth-json-ce","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/njlr/thoth-json-ce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njlr%2Fthoth-json-ce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njlr%2Fthoth-json-ce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njlr%2Fthoth-json-ce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njlr%2Fthoth-json-ce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/njlr","download_url":"https://codeload.github.com/njlr/thoth-json-ce/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njlr%2Fthoth-json-ce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28412176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["computation-expressions","decoder","fable","fsharp","json"],"created_at":"2026-01-14T05:59:21.349Z","updated_at":"2026-01-14T05:59:22.212Z","avatar_url":"https://github.com/njlr.png","language":"F#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Thoth.Json.CE\n\nCreate `Thoth.Json` decoders using a Computation Expression.\n\n```fsharp\n#r \"nuget: Thoth.Json.Net.CE\"\n\nopen System\n\n#if FABLE_COMPILER\nopen Thoth.Json\nopen Thoth.Json.CE\n#else\nopen Thoth.Json.Net\nopen Thoth.Json.Net.CE\n#endif\n\ntype Book =\n  {\n    ID : Guid\n    Title : string\n    Year : int\n  }\n\nmodule Book =\n\n  let decode =\n    decoder {\n      let! id = Decode.field \"id\" Decode.guid\n      let! title = Decode.field \"title\" Decode.string\n      let! year = Decode.field \"year\" Decode.int\n\n      return\n        {\n          ID = id\n          Title = title\n          Year = year\n        }\n    }\n    \n\"\"\"\n{\n  \"id\": \"f3394dca-1620-46a3-a850-ee2fc11f5b6c\",\n  \"title\": \"The Player of Games\",\n  \"year\": \"1988\"\n}\n\"\"\"\n|\u003e Decode.fromString Book.decode\n|\u003e printfn \"%A\"\n```\n\n## Install\n\nInstall from NuGet:\n\n```bash\n# Fable\npaket add Thoth.Json.CE\n\n# .NET\npaket add Thoth.Json.Net.CE\n```\n\nInstall as a file using [Paket](https://fsprojects.github.io/Paket/):\n\nAdd this line to your `paket.dependencies`:\n\n```\ngithub njlr/thoth-json-ce thoth-json-ce/Thoth.Json.CE.fs\n```\n\nAdd this line to your `paket.references`:\n\n```\nFile: Thoth.Json.CE.fs\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnjlr%2Fthoth-json-ce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnjlr%2Fthoth-json-ce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnjlr%2Fthoth-json-ce/lists"}