{"id":21595217,"url":"https://github.com/euank/k8syaml2json","last_synced_at":"2025-03-18T11:09:32.427Z","repository":{"id":66058127,"uuid":"280988979","full_name":"euank/k8syaml2json","owner":"euank","description":"Converts kubernetes yaml inputs into kubernetes json outputs","archived":false,"fork":false,"pushed_at":"2020-08-05T02:49:51.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-24T17:19:26.519Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/euank.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}},"created_at":"2020-07-20T02:01:17.000Z","updated_at":"2020-08-05T02:49:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d890326-a7fe-4122-9d6a-733ac34b3f50","html_url":"https://github.com/euank/k8syaml2json","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Fk8syaml2json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Fk8syaml2json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Fk8syaml2json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Fk8syaml2json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/euank","download_url":"https://codeload.github.com/euank/k8syaml2json/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244207736,"owners_count":20416107,"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":[],"created_at":"2024-11-24T17:34:34.651Z","updated_at":"2025-03-18T11:09:32.406Z","avatar_url":"https://github.com/euank.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## k8syaml2json\n\nUsage: k8syaml2json \u003c $inputYamlFile \u003e $newlineSeparatedOutputJsonFile\n\nk8syaml2json converts the yaml document or documents input via stdin into json,\nand outputs them on stdout.\nIt follows kubernetes semantics for both yaml and json.\n\nThe output is simple newline separated json blobs, one per input yaml document.\n\nMultiple yaml documents may be separated by '---'.\n\n### Why use this?\n\nSome tooling is better at dealing with json than yaml (such as nix). This tool\nis a helper for those programs.\n\nIn addition, various languages that aren't go are really bad at deserializing\nk8s yaml, and are much better at deserializing k8s json.\n\nThis can also help act as a bridge for those languages.\n\n### What about CRDs?\n\nThey probably don't work. PRs welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuank%2Fk8syaml2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feuank%2Fk8syaml2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuank%2Fk8syaml2json/lists"}