func (fv *FieldValue) UnmarshalJSON(data []byte) error {
	doc := &jsonFieldValue{}
	if err := json.Unmarshal(data, doc); err != nil {
		return errors.Wrap(err, "failed to unmarshal FieldValue")
	}
	*fv = FieldValue(doc.fieldValueAlias)
	fv.files = doc.Files
	return nil
}
// UnmarshalJSON implements the json.Unmarshaler interface for the FieldValue type.
UnmarshalJSON implements the json.Unmarshaler interface for the FieldValue type.
// UnmarshalJSON implements the json . Unmarshaler interface for the FieldValue type .
func (fv *FieldValue) UnmarshalJSON(data []byte) error {
	doc := &jsonFieldValue{}
	if err := json.Unmarshal(data, doc); err != nil {
		return errors.Wrap(err, "failed to unmarshal FieldValue")
	}
	*fv = FieldValue(doc.fieldValueAlias)
	fv.files = doc.Files
	return nil
}
func ( fv * FieldValue ) UnmarshalJSON ( data [ ] byte ) error { doc := & jsonFieldValue { } if err := json . Unmarshal ( data , doc ) ; err != nil { return errors . Wrap ( err , " " ) } * fv = FieldValue ( doc . fieldValueAlias ) fv . files = doc . Files return nil }
UnmarshalJSON implements the json.Unmarshaler interface for the FieldValue type.
UnmarshalJSON implements the json . Unmarshaler interface for the FieldValue type .