Skip to content
This json2ts is a VSCode Extension and converts a JSON from clipboard to TypeScript interfaces.
TypeScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
images
src
test
typings
.gitignore
.vscodeignore
LICENSE
README.md
jsonresult.txt
package.json
tsconfig.json
tsd.json

README.md

json2ts for Visual Studio Code

Installation

json2ts is a VSCode Extension which converts a JSON to TypeScript interfaces. You can browse and install extensions from within VS Code. Press Ctrl+P and narrow down the list commands by typing ext install json2ts.

Usage

json2ts converts a JSON from clipboard to TypeScript interfaces with cmd+alt+V or ctrl+alt+V.

json2ts Screenshot

Another way is, to copy a REST-Service URL to clipboard and insert TypeScript interfaces with cmd+alt+X or ctrl+alt+X.

json2ts Screenshot

Contributing

Feel free to submit a pull request if you find any bugs (to see a list of active issues, visit the Issues section). Please make sure all commits are properly documented.

License

MIT-licensed

** Enjoy! **

You can’t perform that action at this time.