Ruby JSON encoding omits zero-length repeated fields by default.
This makes it behave the same way as the other implementations. It is also nice to always encode an empty message as {}.
Showing
Please
register
or
sign in
to comment
This makes it behave the same way as the other implementations. It is also nice to always encode an empty message as {}.