- Mail original -
> De: "Brian Goetz"
> À: "Tagir Valeev"
> Cc: "amber-spec-experts"
> Envoyé: Jeudi 20 Juin 2019 15:43:46
> Objet: Re: Different serialization strategies for different formats?
> Yes, a similar question came up in an int
Yes, a similar question came up in an internal discussion as well.
> Consider we have a Color class which represents a color in RGB format:
>
> class Color { private final int rgb; }
>
> The most obvious and efficient way to serialize/deserialize its state is to
> extract this int field:
>
Hello!
Consider we have a Color class which represents a color in RGB format:
class Color { private final int rgb; }
The most obvious and efficient way to serialize/deserialize its state is to
extract this int field:
class Color {
private final int rgb;
@Deserializer
public Color(int