Dogacel / kotlinx-protobuf-gen

Generate kotlinx serializable data classes from protobuf
Apache License 2.0
12 stars 3 forks source link

Support Protobuf JSON #7

Open Dogacel opened 1 year ago

Dogacel commented 1 year ago

Make sure well-known-types are also handled correctly. Full details here

For example JSON encoding for a Timestamp is not { "seconds": 10, "nanos": 0 } but rather an ISO string such as "2020-01-01T12:00:00Z".

Put the necessary annotations to the generated code.

Supporting both snake case and json_name option is optional for this issue.