Releases: coffeeandwork/protobuf-text-codecs
Releases · coffeeandwork/protobuf-text-codecs
protobuf-text-codecs v0.2.0
Downloads
| File | Description |
|---|---|
protoc-gen-jsonarray.jar |
JSON array format plugin (2.6 MB) |
protoc-gen-pbtkurl.jar |
pbtk URL format plugin (2.6 MB) |
Quick Start
Requires Java 17+.
# Download the plugin(s)
curl -LO https://github.com/coffeeandwork/protobuf-text-codecs/releases/download/v0.2.0/protoc-gen-jsonarray.jar
curl -LO https://github.com/coffeeandwork/protobuf-text-codecs/releases/download/v0.2.0/protoc-gen-pbtkurl.jar
# Create a wrapper script
echo '#!/bin/bash
exec java -jar "$(dirname "$0")/protoc-gen-jsonarray.jar" "$@"' > protoc-gen-jsonarray
chmod +x protoc-gen-jsonarray
# Use with protoc
protoc --plugin=protoc-gen-jsonarray=./protoc-gen-jsonarray \
--jsonarray_out=lang=java:./gen \
your_proto.protoSupported Languages (17)
Java, Python, JavaScript, TypeScript, C, C++, Rust, Zig, Go, C#, Kotlin, Swift, Dart, PHP, Ruby, Objective-C, Perl
What's New in v0.2.0
- New plugin:
protoc-gen-pbtkurlfor Google Maps-style URL encoding - 8 new languages: C#, Kotlin, Swift, Dart, PHP, Ruby, Objective-C, Perl
- Zero-dependency Java: Jackson eliminated, replaced with built-in JSON handling
- Browser-compatible JS/TS: ES module output works in npm, Bun, and Deno
- 1,066 tests with schema evolution, cross-language, and safety/security coverage
See CHANGELOG.md for full details.