Exclude fields from JSON mapping

18 views
Skip to first unread message

andy l

unread,
Feb 4, 2020, 8:15:47 AM2/4/20
to Protocol Buffers
Hi,

I am currently using protocol buffers internally within an application which are exposed over a REST interface in a JSON format. To do this I am using the protobuf to JSON mapping.
There are some fields I would like to exclude from the mapping and not expose in the JSON. Is there a generic way to do this?

Andy Lawrence
Reply all
Reply to author
Forward
0 new messages