Codec is a Codec implementation with json.
| 15 | |
| 16 | // Codec is a Codec implementation with json. |
| 17 | type Codec struct { |
| 18 | prefix string |
| 19 | indent string |
| 20 | marshalOptions protojson.MarshalOptions |
| 21 | unmarshalOptions protojson.UnmarshalOptions |
| 22 | } |
| 23 | |
| 24 | // Option is the type of functional options to codec |
| 25 | type Option func(*Codec) |
nothing calls this directly
no outgoing calls
no test coverage detected