---
title: "Discussion on \"Unleashing the power of Go: How to Unmarshal Dynamic JSON\" | Hashnode"
description: "Discussion on \"Unleashing the power of Go: How to Unmarshal Dynamic JSON\". Today we are going to write our own custom json.Unmarshal() method. I find it very useful and can make our code more maintainable and readable if we can make good use of type alias and the json.Unmarshal method. Let's say we want to decode a JSON-enc..."
url: "https://hashnode.com/posts/unleashing-the-power-of-go-how-to-unmarshal-dynamic-json/64049b7f58f2ff70525b23ab"
---

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

Discussion

# [Unleashing the power of Go: How to Unmarshal Dynamic JSON](https://blog.rayspock.com/unleashing-the-power-of-go-how-to-unmarshal-dynamic-json?utm_source=hashnode&utm_medium=feed)

Today we are going to write our own custom json.Unmarshal() method. I find it very useful and can make our code more maintainable and readable if we can make good use of type alias and the json.Unmarshal method. Let's say we want to decode a JSON-enc...

Mar 5, 2023 · 5 min read · blog.rayspock.com  
Updated Dec 3, 2023  
Read the article

-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#go](https://hashnode.com/tag/go)
-   [#golang](https://hashnode.com/tag/golang)
-   [#json](https://hashnode.com/tag/json)
-   [#learning](https://hashnode.com/tag/learning)

## Written by

[Ray Yang](https://hashnode.com/@rayspock)

@rayspock · London, UK

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

BUIDL

BUIDL | Dev | Loving to code

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
