{"id":52092,"library":"invopop-yaml","title":"invopop/yaml","description":"YAML wrapper that converts YAML to JSON and uses JSON struct tags and custom JSON methods for marshaling/unmarshaling.","status":"active","version":"0.3.1","language":"go","source_language":null,"source_url":"https://github.com/invopop/yaml","tags":["yaml","json","marshal","unmarshal","serialization"],"install":[{"cmd":"go get github.com/invopop/yaml","lang":"bash","label":"Install github.com/invopop/yaml"}],"dependencies":[],"imports":[{"symbol":"yaml","correct":"github.com/invopop/yaml"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/invopop/yaml\"\n)\n\ntype Config struct {\n\tName string `json:\"name\" yaml:\"name\"`\n}\n\nfunc main() {\n\tdata := []byte(\"name: example\")\n\tvar cfg Config\n\tyaml.Unmarshal(data, &cfg)\n\tfmt.Println(cfg.Name)\n}","lang":"go","description":"Unmarshal YAML into a struct using JSON tags"},"warnings":[{"fix":"Ensure structs have JSON tags defined for YAML fields","message":"Uses JSON tags for YAML fields; YAML-specific tags are ignored","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'convert':5 'custom':15 'invopop/yaml':1 'json':8,11,16,21 'marshal':22 'marshaling/unmarshaling':19 'method':17 'serial':24 'struct':12 'tag':13 'unmarsh':23 'use':10 'wrapper':3 'yaml':2,6,20","created_at":"2026-06-15T06:41:19.398568+00:00","updated_at":"2026-06-15T06:41:19.398568+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/invopop/yaml","github":"https://github.com/invopop/yaml","docs":"https://pkg.go.dev/github.com/invopop/yaml#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization","utility"],"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}}