Versions in this module Expand all Collapse all v1 v1.0.3 Sep 19, 2023 v1.0.2 Sep 19, 2023 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