Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typings to json? #70

Closed
unional opened this issue Mar 21, 2017 · 5 comments
Closed

typings to json? #70

unional opened this issue Mar 21, 2017 · 5 comments
Labels

Comments

@unional
Copy link

unional commented Mar 21, 2017

Thanks for the great work here.

I'm also looking for the opposite of this library. A library that converts typings to json schema.

Do you know of such library exist?

@bcherny
Copy link
Owner

bcherny commented Mar 21, 2017

I do not - what's the use case?

@unional
Copy link
Author

unional commented Mar 21, 2017

Creating cli tool that consumes json config file. Want to generate the json schema and publish to schemaStore to support completion in VSCode.

@bcherny
Copy link
Owner

bcherny commented Mar 21, 2017

Ah, that is a good use case. The V2 version of jstt has a decent intermediate representation that could probably be reused for a reverse generator.

If you would like to contribute it to this project, I can comment back here when V2 is out. Otherwise feel free to link you project here and I can add it to the readme!

@bcherny bcherny closed this as completed Mar 21, 2017
@unional
Copy link
Author

unional commented Mar 21, 2017

V2? Do you mean V4? your version is currently 3.1.3.... 😛

@bcherny
Copy link
Owner

bcherny commented Mar 21, 2017

Haha not totally consistent on that front. https://github.com/bcherny/json-schema-to-typescript/tree/v2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants