diff options
author | 2017-03-09 20:47:56 +0100 | |
---|---|---|
committer | 2017-03-09 20:47:56 +0100 | |
commit | 008dc92c9d32abcf608883ae44d5a78f59a4e3c2 (patch) | |
tree | 5bd658854e0c3c079164fe5bf5e82c76c310e1fb /ruby/ext/google/protobuf_c/upb.c | |
parent | fa1788026cf7c7310f068dbee7fbf71958ec1290 (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