github.com/jackc/pgx/v5/pgtype.XMLCodec.Marshal (field)

8 uses

	github.com/jackc/pgx/v5/pgtype (current package)
		json.go#L12: 	Marshal   func(v any) ([]byte, error)
		json.go#L51: 			marshal: c.Marshal,
		json.go#L70: 		marshal: c.Marshal,
		jsonb.go#L24: 		plan := (&JSONCodec{Marshal: c.Marshal, Unmarshal: c.Unmarshal}).PlanEncode(m, oid, TextFormatCode, value)
		jsonb.go#L29: 		return (&JSONCodec{Marshal: c.Marshal, Unmarshal: c.Unmarshal}).PlanEncode(m, oid, format, value)
		jsonb.go#L47: 		plan := (&JSONCodec{Marshal: c.Marshal, Unmarshal: c.Unmarshal}).PlanScan(m, oid, TextFormatCode, target)
		jsonb.go#L52: 		return (&JSONCodec{Marshal: c.Marshal, Unmarshal: c.Unmarshal}).PlanScan(m, oid, format, target)
		pgtype_default.go#L68: 	defaultMap.RegisterType(&Type{Name: "json", OID: JSONOID, Codec: &JSONCodec{Marshal: json.Marshal, Unmarshal: json.Unmarshal}})