Releases: hq6/ProtobufJson
Releases · hq6/ProtobufJson
v1.0.1
v1.0.0-alpha
A thin wrapper over the Protobuf C++ API for converting back and forth between JSON and Protobuf.
Each tarball includes two binaries ProtoToJson and JsonToProto which should both be placed in your PATH for installation.
They are the same binary (hardlinked), but behave differently depending on which name they are invoked under.
This version searches for the given protobuf message among all those defined in the search path, and uses it for conversion if there is a unique match. Otherwise, it will output the list of all matching messages.
Additionally, one can define options in the env variable PROTO_JSON_OPTIONS, which can simplify commands if a particular search path is used often.