{"id":16336964,"url":"https://github.com/justinwoo/purescript-howto-foreign-generic","last_synced_at":"2025-07-16T05:14:00.201Z","repository":{"id":149405763,"uuid":"80433401","full_name":"justinwoo/purescript-howto-foreign-generic","owner":"justinwoo","description":"A tutorial for how to use Purescript's Foreign Generics library","archived":false,"fork":false,"pushed_at":"2018-08-08T07:44:30.000Z","size":13,"stargazers_count":10,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-18T00:44:52.777Z","etag":null,"topics":["generic-rep","purescript","purescript-foreign","purescript-foreign-generic"],"latest_commit_sha":null,"homepage":"","language":"PureScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justinwoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2017-01-30T15:23:36.000Z","updated_at":"2021-09-12T07:22:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"2231cf5e-bea7-4daa-b950-cf05f89f9e0b","html_url":"https://github.com/justinwoo/purescript-howto-foreign-generic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/justinwoo/purescript-howto-foreign-generic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-howto-foreign-generic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-howto-foreign-generic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-howto-foreign-generic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-howto-foreign-generic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justinwoo","download_url":"https://codeload.github.com/justinwoo/purescript-howto-foreign-generic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-howto-foreign-generic/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265483887,"owners_count":23774290,"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":["generic-rep","purescript","purescript-foreign","purescript-foreign-generic"],"created_at":"2024-10-10T23:45:28.204Z","updated_at":"2025-07-16T05:14:00.152Z","avatar_url":"https://github.com/justinwoo.png","language":"PureScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# purescript-howto-foreign-generic [![Build Status](https://travis-ci.org/justinwoo/purescript-howto-foreign-generic.svg?branch=master)](https://travis-ci.org/justinwoo/purescript-howto-foreign-generic)\n\nSee the blog post about this here: http://qiita.com/kimagure/items/00f97c7fc6cef178fa3c\n\n## Note!!! Do you need to just get some simple JSON parsed? Give [Simple-JSON](https://github.com/justinwoo/purescript-simple-json) a try!\n\n## Important: Changes from Video and Slides\n\nThe lesson/slides were made with the previous version of foreign-generics. Here's a somewhat quick rundown of what's changed:\n\n| Old name | New name |\n|----------|----------|\n| IsForeign | Decode |\n| AsForeign | Encode |\n| write | encode |\n| read | decode |\n| readJSON | decodeJSON |\n| readGeneric | genericDecode |\n| toForeignGeneric | genericEncode |\n\nThis repo presents many common usages for [Purescript-Foreign-Generic](https://github.com/paf31/purescript-foreign-generic).\n\nIf you're just getting started, you might be interested in [this repo](https://github.com/justinwoo/simple-record-foreign-generic-demo/blob/master/README.md) instead.\n\n[Egghead lesson for basic introduction to Purescript-Foreign-Generic here\n![](http://i.imgur.com/uf6SH0H.png)\n](https://egghead.io/lessons/automatically-de-serialize-json-with-purescript-foreign-generics)\n\n[See the slides about this repo and purescript-foreign-generics here!\n![](http://i.imgur.com/LGgtQKb.png)\n](https://speakerdeck.com/justinwoo/serialization-with-purescript)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinwoo%2Fpurescript-howto-foreign-generic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustinwoo%2Fpurescript-howto-foreign-generic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinwoo%2Fpurescript-howto-foreign-generic/lists"}