// UnmarshalJSON implements the encoding/json Unmarshaler interface. It expects
// to receive a valid JSON value, and will assign that value to j. UnmarshalJSON
// will not validate the incoming JSON.
UnmarshalJSON implements the encoding/json Unmarshaler interface. It expects
to receive a valid JSON value, and will assign that value to j. UnmarshalJSON
will not validate the incoming JSON.
// UnmarshalJSON implements the encoding / json Unmarshaler interface . It expects // to receive a valid JSON value and will assign that value to j . UnmarshalJSON // will not validate the incoming JSON .
func (j *RawJSON) UnmarshalJSON(data []byte) error {
	if j == nil {
		return fmt.Errorf("types.RawJSON: UnmarshalJSON called on nil pointer")
	}
	j.Set(data)
	return nil
}
func ( j * RawJSON ) UnmarshalJSON ( data [ ] byte ) error { if j == nil { return fmt . Errorf ( " " ) } j . Set ( data ) return nil }
UnmarshalJSON implements the encoding/json Unmarshaler interface.
UnmarshalJSON implements the encoding / json Unmarshaler interface .