Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java DTOs to TypeScript [closed]

Does anyone know of a good method to automate converting Java DTOs to TypeScript? (these objects used in JSON REST APIs)

Is there a methodology, technique or technology which would allow me to do this more quickly and efficiently?

like image 891
Dmitry Avatar asked Mar 15 '15 14:03

Dmitry


1 Answers

I'd take a look at some of the more up-to-date JavaScript code generators working with Google's Protocol Buffers at GitHub: google/protobuf → Third Party Add ons as this is a language-agnostic Data Transfer Object technology with strong Java focus and heavy user base so using it might be "quick and efficient" and solid choice

like image 154
xmojmr Avatar answered Nov 03 '22 14:11

xmojmr