Go Traversing Mapped Json Interface

Umar
Jul 14, 2021

Sometimes, going through the process of creating structs for every name/value pairs for json can be somewhat time consuming and overly verbose for the problems we are trying to solve.

So we can use standard interfaces{} in order to read in any JSON data

Playground code: https://play.golang.org/p/w_SoK-WMgVJ

--

--