# JSON encoding in Go

Published articles for JSON encoding in Go.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Exploring JSON Encoding and Data Handling in Go - Ep.2

DevFeed: [Exploring JSON Encoding and Data Handling in Go - Ep.2](<https://devfeed.tech/articles/exploring-json-encoding-and-data-handling-in-go-ep-2-22264.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2024/10/json-the-fine-print-ep-2-exploring-json-encoding-and-data-handling-in-go.html>)

Published: 2024-10-17T00:00:00Z

Content type: tutorial

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [JSON](<https://devfeed.tech/topics/json.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Structured-data](<https://devfeed.tech/topics/structured-data.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>)

Tags: [debug](<https://devfeed.tech/tags/debug.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [efficient-data-encoding-in-go](<https://devfeed.tech/tags/efficient-data-encoding-in-go.md>), [encoding-json-in-go-with-type-assertions](<https://devfeed.tech/tags/encoding-json-in-go-with-type-assertions.md>), [format](<https://devfeed.tech/tags/format.md>), [go](<https://devfeed.tech/tags/go.md>), [go-encoding-json-package-tutorial](<https://devfeed.tech/tags/go-encoding-json-package-tutorial.md>), [go-interface-with-json](<https://devfeed.tech/tags/go-interface-with-json.md>), [go-json-handling](<https://devfeed.tech/tags/go-json-handling.md>), [go-programming-json-tips](<https://devfeed.tech/tags/go-programming-json-tips.md>), [go-strongly-typed-system-and-json](<https://devfeed.tech/tags/go-strongly-typed-system-and-json.md>), [handling-json-null-values-in-go](<https://devfeed.tech/tags/handling-json-null-values-in-go.md>), [json](<https://devfeed.tech/tags/json.md>), [json-decoding-in-go-examples](<https://devfeed.tech/tags/json-decoding-in-go-examples.md>), [json-encoding-in-go](<https://devfeed.tech/tags/json-encoding-in-go.md>), [json-for-engineers](<https://devfeed.tech/tags/json-for-engineers.md>), [json-marshalling-and-unmarshalling-in-go](<https://devfeed.tech/tags/json-marshalling-and-unmarshalling-in-go.md>), [json-schema-less-format-benefits-and-challenges](<https://devfeed.tech/tags/json-schema-less-format-benefits-and-challenges.md>), [json-vs-binary-formats-in-go](<https://devfeed.tech/tags/json-vs-binary-formats-in-go.md>), [mapping-json-to-go-types](<https://devfeed.tech/tags/mapping-json-to-go-types.md>), [pitfalls](<https://devfeed.tech/tags/pitfalls.md>), [working-with-json-in-go](<https://devfeed.tech/tags/working-with-json-in-go.md>)

### AI overview

Episode 2 explains JSON as a schema-less, human-readable format and examines its benefits and pitfalls. It focuses on mapping JSON data to Go's strongly typed system, handling nullable and numeric values, comparing JSON with binary formats, and using Go's encoding and decoding tools.

### Source excerpt

Introduction: Welcome to Episode 2 of JSON for Engineers! In this episode, we explore the unique characteristics of JSON as a schema-less format, discussing both its benefits and challenges. You'll learn how JSON's flexibility, while enabling rapid development, can create issues when working with strongly-typed languages like Go. Additionally, we'll cover the differences between JSON and more compact binary formats, and how to handle JSON's broader use in web applications.