Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>JSON to GoNew to Visual Studio Code? Get it now.
JSON to Go

JSON to Go

Mario Petričko

|
39,236 installs
| (2) | Free
Convert JSON data to Go type definition
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JSON to Go

This extension helps you convert JSON data to a Go type definition

It exposes multiple commands that can be run through the pallete or added to a hotkey. The base command is JSON to Go: Convert.

By default the extension will convert complex JSON automatically when pasting into a Go file.

Animation showing paste integration in editor

Settings

In v1.0.0 many new settings have been added, such as saving a copy of every conversion. I won't list them here anymore, but you are encouraged to check and configure them to your likings. There is a shortcut command JSON to Go: Open settings

Check the release notes or the changelog for more information

All credits for the original json-to-go belong to mholt

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft