Registry / serialization / tmccombs-hcl2json

tmccombs-hcl2json

JSON →
library0.6.9gogounverified

Package hcl2json converts HashiCorp Configuration Language (HCL) files to JSON format.

go get github.com/tmccombs/hcl2json
INSTALL
IMPORT
SIG · TMCCOMBS-HCL2JSON
T
tmccombs-hcl2json
serializationgov0.6.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

hcl2json
github.com/tmccombs/hcl2json

Converts an HCL string to JSON.

package main import ( "fmt" "github.com/tmccombs/hcl2json" ) func main() { hcl := `variable "name" { default = "world" }` json, err := hcl2json.Convert(hcl, "") if err != nil { panic(err) } fmt.Println(json) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.9latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
OpenAI (training)
1
Resources
tmccombs-hcl2json — go get tmccombs-hcl2json · libregistry