protobuf/ruby/ext
Josh Haberman 194ad621bb Ruby JSON: always accept both camelCase and original field names.
For JSON encoding we provide a new option to decide at
encode time whether to use camelCase or original proto field
names:

  json = MapMessage.encode_json(m, :preserve_proto_fieldnames => true)
2016-04-14 18:33:17 -07:00
..
google/protobuf_c Ruby JSON: always accept both camelCase and original field names. 2016-04-14 18:33:17 -07:00