package
0.0.0-20210331065242-323b27c6239d
Repository: https://github.com/classzz/czzutil.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
jsonpb
Package jsonpb provides an API for marshaling protobuf objects to JSON and back. There is a golang library to perform these operations, however it converts all byte arrays to base64 strings instead of hex which is typically used by Bitcoin Cash. It also doesn't know to convert little endian byte arrays to big endian.
Thus this package is a wrapper around the original jsonpb package that handles marshaling and unmarshaling to the format expected in Bitcoin Cash.
Installation and Updating
$ go get -u github.com/gcash/bchutil/jsonpb
License
Package jsonpb is licensed under the copyfree ISC License.