arthurnn / twirp-ruby

Twirp services in Ruby
Apache License 2.0
155 stars 60 forks source link

emit_defaults in json serialization #57

Closed marioizquierdo closed 4 years ago

marioizquierdo commented 4 years ago

Fixes #56

Server JSON responses use emit_defaults: true to include all fields, even if they have zero-values. This is now the default behavior in the Go implementation (see https://github.com/twitchtv/twirp-ruby/issues/56).