Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>json转tsNew to Visual Studio Code? Get it now.
json转ts

json转ts

mrgaogang

|
1,855 installs
| (0) | Free
Convert JSON object to typescript interfaces
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JSON转换成typescript的interface

特色

  1. 从剪切板json数据转换成interface (windows: ctrl+alt+C , Mac : ^+⌥+C)

  1. 选择json数据转换成interface (windows: ctrl+alt+S , Mac : ^+⌥+S)

  1. 将json文件转换成interface (windows: ctrl+alt+F , Mac : ^+⌥+F)

注意点

默认插件会将json的key变成驼峰。

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