My Feed
Rixnew
Write
Create Team Blog
Let's kick off a fresh team blog! Bring on the crew and let's get to publishing.
ExploreDraftsBookmarksHackathonsTeam Blogs
AboutCareersOfficial Blog
Download App
Logos & Media

Trending tags
See all

© 2023 Hashnode

json

#json

Write An Article
116 Followers·528 Articles
HotNew
Miguel Angel Acevedo
faulty.dev·Mar 22, 2023

JSON prettify with go without a struct

If we have a JSON string and we need to prettify it without having a struct to unmarshal, we can use: package main import ( "bytes" "encoding/json" "fmt" "log" ) func PrettyJSON(str …

JSON prettify with go without a struct
Go Languagejson
jsonDatabricks+3
62
akash uday