{"id":51511,"library":"zclconf-go-cty-yaml","title":"go-cty-yaml","description":"Package yaml can marshal and unmarshal cty values in YAML format.","status":"active","version":"1.2.0","language":"go","source_language":null,"source_url":"https://github.com/zclconf/go-cty-yaml","tags":["yaml","cty","marshal","unmarshal","hashicorp"],"install":[{"cmd":"go get github.com/zclconf/go-cty-yaml","lang":"bash","label":"Install github.com/zclconf/go-cty-yaml"}],"dependencies":[],"imports":[{"symbol":"yaml","correct":"github.com/zclconf/go-cty-yaml"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/zclconf/go-cty/cty\"\n\t\"github.com/zclconf/go-cty/cty/function\"\n\t\"github.com/zclconf/go-cty-yaml\"\n)\n\nfunc main() {\n\tval := cty.StringVal(\"hello\")\n\tout, err := yaml.Marshal(val, \"test\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(string(out))\n}","lang":"go","description":"Marshals a cty value to YAML"},"warnings":[],"env_vars":null,"search_vec":"'cti':3,11,17 'format':15 'go':2 'go-cty-yaml':1 'hashicorp':20 'marshal':8,18 'packag':5 'unmarsh':10,19 'valu':12 'yaml':4,6,14,16","created_at":"2026-06-15T06:17:55.443435+00:00","updated_at":"2026-06-15T06:17:55.443435+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/zclconf/go-cty-yaml","github":"https://github.com/zclconf/go-cty-yaml","docs":"https://pkg.go.dev/github.com/zclconf/go-cty-yaml#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}