Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Effective Serialization In Go: JSON, Protocol Buffers and More

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to work effectively with serialization in Go.

Syllabus

Introduction
  • Effective serialization in Go
  • What you should know
  • Working with Codespaces
1. Serialization Overview
  • Why do we need serialization?
  • Picking a format
  • General rules
  • Formats overview
2. Go-Specific Formats
  • String representation
  • encoding.TextMarshaler
  • encoding/gob
  • Challenge: User database
  • Solution: User database
3. Working with JSON
  • encoding/json API
  • Custom marshaling
  • Zero vs. missing values
  • Handling dynamic types
  • Streaming JSON
  • Challenge: Marshal metrics
  • Solution: Marshal metrics
4. Working with Protocol Buffers
  • Protocol buffers overview
  • Generating code
  • Using the generated code
  • Working with time
  • Emitting JSON
  • Challenge: Encode RideEnd to a file
  • Solution: Encode a RideEnd to a file
5. Other Serialization Formats
  • YAML and TOML
  • XML
  • CSV
  • SQL
  • Challenge: ETL
  • Solution: ETL
Conclusion
  • Next steps

Taught by

Miki Tebeka

Reviews

Start your review of Effective Serialization In Go: JSON, Protocol Buffers and More

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.