https://github.com/technicallyjosh/protoc-gen-enum-json-string
https://github.com/technicallyjosh/protoc-gen-enum-json-string
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/technicallyjosh/protoc-gen-enum-json-string
- Owner: technicallyjosh
- Created: 2024-01-03T04:36:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-03T18:58:36.000Z (over 2 years ago)
- Last Synced: 2025-02-01T11:43:20.749Z (over 1 year ago)
- Language: Go
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# protoc-gen-enum-json-string
A simple generator to enable the use of string values with enums when using
JSON.
## Why?
I don't use the protojson lib and want to allow for string enum values instead
of the default integers when using JSON.
## Install
```
go install github.com/technicallyjosh/protoc-gen-enum-json-string@latest
```