Versions in this module Expand all Collapse all v1 v1.4.1 Apr 25, 2024 Changes in this version + func DisallowUnknownFields(d *json.Decoder) *json.Decoder + func JSONObjectToYAMLObject(j map[string]interface{}) yaml.MapSlice + func JSONToYAML(j []byte) ([]byte, error) + func Marshal(obj interface{}) ([]byte, error) + func Unmarshal(yamlBytes []byte, obj interface{}, opts ...JSONOpt) error + func UnmarshalStrict(yamlBytes []byte, obj interface{}, opts ...JSONOpt) error + func YAMLToJSON(y []byte) ([]byte, error) + func YAMLToJSONStrict(y []byte) ([]byte, error) + type JSONOpt func(*json.Decoder) *json.Decoder