There are a few questions on the topic but none of them seem to cover my case, thus I\'m creating a new one.
I have JSON like the following:
{\"foo\"
Yes. With gjson all you have to do now is:
bar := gjson.Get(json, "foo.bar")
bar could be a struct property if you like. Also, no maps.
bar