Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 325 Bytes

File metadata and controls

16 lines (12 loc) · 325 Bytes

jsonpb Library - StreamingFast fork

This is simply a copy of Google Protocol Buffer jsonpb package where []byte types by default outputs to hexadecimal encoding instead of base64 encoding.

Usage

package main

func main() {
   block := &pbdeos.Block{}
   blockJSON := jsonpb.MarshalToString(block)
}