Go features a number of alternative encoding types aside from JSON, TOML, and YAML. These are largely meant for transporting data between Go processes with things such as wire protocols and RPC or in cases where some character formats are restricted.
This recipe will explore encoding and decoding gob format and base64. The later chapters will explore protocols such as GRPC.