Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gregorbiswanger/vscode-json2ts
This json2ts is a VSCode Extension and converts a JSON from clipboard to TypeScript interfaces.
https://github.com/gregorbiswanger/vscode-json2ts
Last synced: about 2 months ago
JSON representation
This json2ts is a VSCode Extension and converts a JSON from clipboard to TypeScript interfaces.
- Host: GitHub
- URL: https://github.com/gregorbiswanger/vscode-json2ts
- Owner: GregorBiswanger
- License: mit
- Created: 2016-02-15T13:11:52.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-01-24T22:07:57.000Z (11 months ago)
- Last Synced: 2024-11-02T03:42:06.368Z (about 2 months ago)
- Language: TypeScript
- Size: 2.91 MB
- Stars: 32
- Watchers: 5
- Forks: 11
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/GregorBiswanger/VSCode-json2ts/blob/master/images/json2ts.gif?raw=true)
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](https://github.com/GregorBiswanger/VSCode-json2ts/blob/master/images/json2ts.REST-URL-Support.gif?raw=true)
### Contributing
Feel free to submit a pull request if you find any bugs (to see a list of active issues, visit the [Issues section](https://github.com/GregorBiswanger/VSCode-json2ts/issues)).
Please make sure all commits are properly documented.### License
MIT-licensed** Enjoy! **