Re: [protobuf] Forcing JSON encoding to include default values (Java?)

2016-03-15 Thread 'Feng Xiao' via Protocol Buffers
On Tue, Mar 15, 2016 at 10:40 AM, Rich wrote: > Where is JsonFormat defined? > > No reference to how to print JSON from Java in the docs. Nothing in the > API index. > See:

Re: [protobuf] Forcing JSON encoding to include default values (Java?)

2016-03-15 Thread Rich
Where is JsonFormat defined? No reference to how to print JSON from Java in the docs. Nothing in the API index. On Sunday, November 1, 2015 at 2:46:16 PM UTC-5, Feng Xiao wrote: > > > > On Sun, Nov 1, 2015 at 12:32 AM, Marco > wrote: > >> The documentation mentions "An

Re: [protobuf] Forcing JSON encoding to include default values (Java?)

2015-11-01 Thread 'Feng Xiao' via Protocol Buffers
On Sun, Nov 1, 2015 at 12:32 AM, Marco wrote: > The documentation mentions "An implementation may provide options to emit > fields with default values in the JSON-encoded output." > > I assumed that meant an implementation of Printer class, ie. an > alternative to