{"id":16800225,"url":"https://github.com/abiosoft/hcl2json","last_synced_at":"2025-03-17T05:17:29.534Z","repository":{"id":137636398,"uuid":"268176211","full_name":"abiosoft/hcl2json","owner":"abiosoft","description":"HCL to JSON converter","archived":false,"fork":false,"pushed_at":"2020-05-31T06:23:26.000Z","size":12,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T14:49:48.307Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abiosoft.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-05-30T23:25:32.000Z","updated_at":"2023-07-08T19:09:07.000Z","dependencies_parsed_at":"2023-07-28T00:16:25.908Z","dependency_job_id":null,"html_url":"https://github.com/abiosoft/hcl2json","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiosoft%2Fhcl2json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiosoft%2Fhcl2json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiosoft%2Fhcl2json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiosoft%2Fhcl2json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abiosoft","download_url":"https://codeload.github.com/abiosoft/hcl2json/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243976472,"owners_count":20377691,"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-10-13T09:31:39.602Z","updated_at":"2025-03-17T05:17:29.516Z","avatar_url":"https://github.com/abiosoft.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hcl2json\n\n[![Go](https://github.com/abiosoft/hcl2json/workflows/Go/badge.svg)](https://github.com/abiosoft/hcl2json/actions)\n\nFork of [https://github.com/tmccombs/hcl2json](https://github.com/tmccombs/hcl2json) that simply splits the project into library and cmd.\n\nThis is a tool to convert from [HCL](https://github.com/hashicorp/hcl2/blob/master/hcl/hclsyntax/spec.md) to json, to make it easier for non-go applications and scripts to process HCL inputs (such as terraform config).\n\nIt converts the provide native HCL file to an (almost) equivalent HCL JSON file. Note, however, that there are some corner cases where it may not be exactly equivalent, especially if the target application makes use of [static analysis](https://github.com/hashicorp/hcl2/blob/master/hcl/hclsyntax/spec.md#static-analysis).\n\n## Install\n\n```\ngo get github.com/abiosoft/hcl2json/cmd/hcl2json@master\n```\n\n## Usage\n\n```\nUsage: \n  -indent int\n        number of spaces to indent with (default 2)\n  -input string\n        input HCL file. If missing, reads from stdin\n  -output string\n        output JSON file. If missing, writes to stdout\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabiosoft%2Fhcl2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabiosoft%2Fhcl2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabiosoft%2Fhcl2json/lists"}