Good point! Sounds good then.

Sent from my iPhone

> On Jul 20, 2017, at 11:15 AM, Dan Smith <dsm...@pivotal.io> wrote:
> 
>> On Thu, Jul 20, 2017 at 10:57 AM, Jacob Barrett <jbarr...@pivotal.io> wrote:
>> 
>> I really feel like an annotation would make the most sense. How likely is
>> it that the object could not be annotated or the serializer for the object
>> is not tightly coupled with the object? Having to map objects to
>> serializers externally then becomes a lot more complicated to keep
>> consistent.
>> 
> 
> Well, with PDX serialization there may not even be a java class, or it may
> not be present on the server. So annotations don't really cover all of the
> use cases. With the proposed API, you could plug in an annotation based
> serializer, if you wanted to.
> 
> -Dan

Reply via email to