Paul Yang
37a0ab7d83
Fix Any json encoding/decoding for ruby. ( #5592 )
...
* Fix Any json encoding/decoding for ruby.
* Revert unnecessary changes
6 years ago
Toby Hsieh
59133296a6
Fix most of the unused variable warnings in Ruby tests ( #5313 )
...
* Fix most of the unused variable warnings in Ruby tests
* Add encoded_field_b back in tests/common_tests.rb
6 years ago
Paul Yang
e508fc0c66
Check the message to be encoded is the wrong type. ( #4885 ) ( #4949 )
...
* Check the message to be encoded is the wrong type. (#4885 )
* Change TypeError to ArgumentError
7 years ago
Paul Yang
40f9ef2f56
Check the message to be encoded is the wrong type. ( #4885 )
7 years ago
Erik Benoist
c19fcee48f
Allows the json marshaller to be passed json marshal options ( #4252 )
7 years ago
Erik Benoist
a8e2359329
Allows the json marshaller to be passed json marshal options ( #4252 )
7 years ago
Paul Yang
0e7b589566
Add discard unknown API in ruby. ( #3990 )
...
* Add discard unknown API in ruby.
* Add test for oneof message field.
* Add TestUnknown to represent unknown field data clearly.
* Only serialize the message with unknown fields itself in test.
* Move discard_unknown from Message to Google.Protobuf
7 years ago