I've got a problem with my json parsing in golang.
I used some code to parse the json into a map[string]interface{}{}
but when I try to iterate through a nested field, the error (type interface {} does not support indexing)
is triggered.
I'd like to get the following informations :
- iterate through each
response->blogs
and then get the url of original_size photo that lays inresponse->posts->blog_n->photos->original_size
meta->status
response->blog->total_posts
andresponse->blog->name
Here's a link to a playground Thank you for your help !