JSONFieldNames enables the use of json names instead of the standard protobuf snake_case field names
(enabled bool)
| 44 | |
| 45 | // JSONFieldNames enables the use of json names instead of the standard protobuf snake_case field names |
| 46 | func JSONFieldNames(enabled bool) Option { |
| 47 | return func(opts *options) error { |
| 48 | opts.jsonFieldNames = enabled |
| 49 | return nil |
| 50 | } |
| 51 | } |
no outgoing calls