---
title: "Discussion on \"Serializing Objects To Binary Format\" | Hashnode"
description: "Discussion on \"Serializing Objects To Binary Format\". Besides the well-known JSON and XML, Go also offers the binary format, gob. \nThis recipe goes through the basic concept of how to use the gob package.\n\nCreate the gob.go file with the following content:\npackage main\n\nimport (\n    \"bytes\"\n    \"encodin..."
url: "https://hashnode.com/posts/serializing-objects-to-binary-format--deleted/6280ea1f0094f2f13f5160fe"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Serializing Objects To Binary Format](https://blog.cloudnativefolks.org/serializing-objects-to-binary-format--deleted?utm_source=hashnode&utm_medium=feed)

Besides the well-known JSON and XML, Go also offers the binary format, gob. This recipe goes through the basic concept of how to use the gob package. Create the gob.go file with the following content: package main import ( "bytes" "encodin...

May 15, 2022 · 2 min read · blog.cloudnativefolks.org  
Updated May 16, 2022  
Read the article

-   [#go](https://hashnode.com/tag/go)

## Written by

[Sangam Biradar](https://hashnode.com/@sangambiradar)

@sangambiradar · India

  
[View profile](https://hashnode.com/@sangambiradar)

AI Security

DevRel at StackGen | Formerly at Deepfence ,Tenable , Accurics | AWS Community Builder also Docker Community Award Winner at Dockercon2020 | CyberSecurity Innovator of Year 2023 award by Bsides Bangalore | Docker/HashiCorp Meetup Organiser Bangalore &amp; Co-Author of Learn Lightweight Kubernetes with k3s (2019) , Packt Publication &amp; also run Non Profit CloudNativeFolks / CloudSecCorner Community To Empower Free Education reach out me twitterhttps://twitter.com/sangamtwts or just follow on GitHub -&gt; https://github.com/sangam14 for Valuable Resources

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
