Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>lazyswitchNew to Visual Studio Code? Get it now.
lazyswitch

lazyswitch

kalifun

|
282 installs
| (0) | Free
I don't want to write too many structs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

lazyswitch-vscode README

Convert YAML and JSON files to GO code.
When you write code, you often need to generate Go code from a configuration file.
This might help you reduce the number of structs you write.

Features

LazySwitch is an updated version of QuickType. Thanks again. We currently only support Go code. More features will be added later.

You can use key combinations.

* Beautify Json

Win

Ctrl + Alt + M

Mac

Cmd + Option + M

* Compressed Json

Win

Alt + M

Mac

Option + M

Release Notes

0.1.1

  • [x] files to GO code.

0.1.2

  • [x] json to yaml.
  • [x] yaml to json.

0.1.3

  • [x] Beautify Json.
  • [x] Compressed Json.

Thank you

quicktype

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