{"id":15798632,"url":"https://github.com/chanced/transcode","last_synced_at":"2026-05-10T05:15:33.275Z","repository":{"id":59047558,"uuid":"534235997","full_name":"chanced/transcode","owner":"chanced","description":"a markup language conversion library for go","archived":false,"fork":false,"pushed_at":"2022-09-27T14:51:44.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-06T00:42:37.574Z","etag":null,"topics":["go","golang","json","yaml"],"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/chanced.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}},"created_at":"2022-09-08T13:54:47.000Z","updated_at":"2022-11-04T03:17:27.000Z","dependencies_parsed_at":"2022-09-11T04:01:31.591Z","dependency_job_id":null,"html_url":"https://github.com/chanced/transcode","commit_stats":null,"previous_names":["chanced/why","chanced/transcodefmt"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanced%2Ftranscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanced%2Ftranscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanced%2Ftranscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanced%2Ftranscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chanced","download_url":"https://codeload.github.com/chanced/transcode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246531975,"owners_count":20792736,"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":["go","golang","json","yaml"],"created_at":"2024-10-05T00:42:55.013Z","updated_at":"2026-05-10T05:15:33.237Z","avatar_url":"https://github.com/chanced.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# transcode is markup language conversion library\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/chanced/transcode.svg)](https://pkg.go.dev/github.com/chanced/transcode)\n\ntranscode is a go library that will convert markup languages (currently JSON and YAML) from one form to another.\n\n## Motivation\n\nWhile it is possible to decode JSON as YAML, doing so comes with caveats. YAML\nis a superset of JSON and so unmarshaling a YAML object into `interface{}` will\nresult in `map[interface{}]interface{}`. When you need to work with the raw data\nor would like to work with JSON Schema, this can be problematic.\n\nEncoding JSON as YAML is easily accomplishable with standard tooling. However,\nthis library will be faster than unmarshaling JSON as `interface{}`, and then\nremarshaling as YAML. It also provides some very minimal formatting.\n\nThere are some drawbacks to using transcode though:\n\n-   YAML aliases are not supported\n-   All keys remain strings when transcoding into YAML\n-   YAML comments are obviously lost\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanced%2Ftranscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchanced%2Ftranscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanced%2Ftranscode/lists"}