JSON to Go
This extension will let you convert selected text to a Go struct if it's valid JSON.
Can be run through the command pallete or the editor context menu inside configured languages with the JSON to Go command
Upon execution a temporary file will be opened and struct name will automatically be selected for easy renaming.
You can choose inside which languages to show the context menu with the following setting:
Also there is a toggle to show the types inline:
Or below the main struct:
All credits for the original json-to-go belong to mholt