func ApplyDefaults(r *validate.Result)
ApplyDefaults applies defaults to the underlying data of the result. The data must be a JSON struct as returned by json.Unmarshal.
func Prune(r *validate.Result)
Prune recursively removes all non-specified fields from the underlying data of the result. The data must be a JSON struct as returned by json.Unmarshal.