Inder
Right on context.serialize(). Thankfully that can be done, but I was thinking if my type has a large number (n) of members, but I only want exclude a few (m), I would need to manually kick off context.serialize() and put the values in a JsonObject n-m times, right?
I thought about the dummy type, but I am not sure that would pass our code review standards and does not seem very maintainable.
One of the other solutions we have thought of is serializing the model and then removing the fields, either from the string directly or by parsing it again in another marshaller.
None of these options are attractive to me.
Jacob
--
Jacob Tomaw
tfl:The Flatiron Life (
http://tomaw.com)
Follow me on Twitter! (
http://twitter.com/JacobTomaw)