I wanted to write Thift IDL files automatically in Node js. For doing that, I am thinking to use thriftrw node js package.
Actually my complete task is to convert the given JSON schema to Thrift IDL Schema. For doing this whole task, I am planning to first parse JSON Schema. From this JSON Schema Object, I would create a thriftrw object from which I would create Thrift IDL Schema file. But I am not getting how can I convert thriftrw object to Thrift IDL schema?
I wanted to write Thift IDL files automatically in Node js. For doing that, I am thinking to use thriftrw node js package.
Actually my complete task is to convert the given JSON schema to Thrift IDL Schema. For doing this whole task, I am planning to first parse JSON Schema. From this JSON Schema Object, I would create a thriftrw object from which I would create Thrift IDL Schema file. But I am not getting how can I convert thriftrw object to Thrift IDL schema?
Please provide some suggestions.