aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby/ext/google/protobuf_c/upb.c
diff options
context:
space:
mode:
authorGravatar Ewout <e@ewout.name>2017-03-09 20:47:56 +0100
committerGravatar Ewout <e@ewout.name>2017-03-09 20:47:56 +0100
commit008dc92c9d32abcf608883ae44d5a78f59a4e3c2 (patch)
tree5bd658854e0c3c079164fe5bf5e82c76c310e1fb /ruby/ext/google/protobuf_c/upb.c
parentfa1788026cf7c7310f068dbee7fbf71958ec1290 (diff)
Ruby version optionally emits default values in JSON encoding.
Usage: Message.encode_json(m, emit_defaults: true) Message fields that are nil will still not appear in the encoded JSON.
Diffstat (limited to 'ruby/ext/google/protobuf_c/upb.c')
0 files changed, 0 insertions, 0 deletions