// ValueOrZero will return the value of j if it is valid, or a newly constructed
// zero-value types.RawJSON otherwise.
ValueOrZero will return the value of j if it is valid, or a newly constructed
zero-value types.RawJSON otherwise.
// ValueOrZero will return the value of j if it is valid or a newly constructed // zero - value types . RawJSON otherwise .
func (j RawJSON) ValueOrZero() types.RawJSON {
	if !j.Valid {
		return types.RawJSON{}
	}
	return j.JSON
}
func ( j RawJSON ) ValueOrZero ( ) types . RawJSON { if ! j . Valid { return types . RawJSON { } } return j . JSON }
ValueOrZero will return the value of j if it is valid, or a newly constructed
zero-value types.RawJSON otherwise.
ValueOrZero will return the value of j if it is valid or a newly constructed zero - value types . RawJSON otherwise .