Re:Show HN: JSONSchema to TypeScript compiler
by fixed_carbon on Wednesday April 26, 2017 @01:52AM
(#14200759)
Nice. Being able to consume JSON Schema would be really handy since there are other tools to consume plain JSON and emit JSON Schema.
I'm considering taking a crack at a Julia output module for your project. Those output adapters look pretty straightforward.
Re:Show HN: JSONSchema to TypeScript compiler
by burntcaramel on Wednesday April 26, 2017 @03:06AM
(#14201042)
Oh that would be great! Glad to hear it looks straight forward.
Ok will consider JSON Schema support. Thanks!
Re:Show HN: JSONSchema to TypeScript compiler
by bcherny on Wednesday April 26, 2017 @02:19AM
(#14200869)
Lofi looks cool! Is the advantage over the more broadly used Protobuf or JSONSchema just the leaner syntax?
Re:Show HN: JSONSchema to TypeScript compiler
by burntcaramel on Wednesday April 26, 2017 @03:01AM
(#14201025)
Yes, I’m trying to make something very user friendly, something that designers and product managers and junior developers could use with ease. I plan on adding a validator so that any mistakes are caught.
Planning on adding TypeScript soon, and may do JSONSchema too!
It’s written in Elm, whose strict compiler really helps with avoiding bugs. https://github.com/RoyalIcing/lofi-schema-elm