Ori Schwartz
f0aa1118e9
Java protobuf uses lower camel for all field names. When using reflection to find the generic type of repeated fields, can't use the user specified formats for field name conversion. ( #1119 )
2017-09-17 23:46:52 -07:00
Nykolas Lima
2928b3ef97
handle explicit null values in JSON
2016-05-23 16:44:30 -03:00
Emmanuel Cron
1ffa2fb92a
Added rebuilt tests for serialization with numbers
2015-10-06 17:03:48 -07:00
Emmanuel Cron
339c783b4a
Updated the ProtoTypeAdapter to a version that works smoothly and supports field name/value customization.
...
- Lets you customize the proto field name serialization per field
- Lets you use different cases for serialization (e.g. you could use UpperCamelCase for your proto field names and willing to serialize them using LowerHyphen)
- Lets you choose to serialize enum values with their value (0, 1, 2, ...) instead of their name.
2015-10-06 16:20:37 -07:00
Inderjeet Singh
2d7367364b
Added additional functional tests involving complex protocol buffers, and protos with repeated fields.
...
Moved all the functional tests under a functional package.
2010-10-27 23:49:22 +00:00
Inderjeet Singh
6feb325044
Added a type adapter for serializing and deserializing protobufs
2010-10-27 23:06:26 +00:00
Inderjeet Singh
9b0e7f8b84
initial check-in for implementing support for protocol buffers in Gson
2010-09-14 17:59:04 +00:00