Is there a way to read selective fields without deserializing the
entire object?

My serialized message is stored in memory as a (Heap)ByteBuffer.

I'm trying to find out if any of the (de-)serialization frameworks
allow a way to read specific fields without having to deserialize the
entire message. The message has almost 200 fields - mostly Strings and
a few long and int fields. Deserialization is expensive and creates
too much garbage considering the fact that I just need to read 1-2
fields.

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to