3 ms·
You can parse JSON into an interface, but you end up doing tiresome casts if you structure is just somewhat nested.
by mrweasel 12y ago
You can parse JSON into an interface, but you end up doing tiresome casts if you structure is just somewhat nested.
- seletskiy 12y ago...or use very simple lib like this one [1] to access to deep-nested structs using one call. [1] https://github.com/zazab/zhash https://github.com/zazab/zhash