0

I am working on Apache thrift these days. I have some .thrift file schemas. I wanted to convert them into JSON files. Is there any open source library or tool which can do that? Similarly for JSON to thrift also, if there is any library or tool, please do let me know?

hatellla
  • 4,796
  • 8
  • 49
  • 101
  • May I ask what's the point of it? The Thrift compiler only consumes Thrift IDL (not "*schema*") files. There is no JSON input. – JensG Oct 08 '17 at 00:41

1 Answers1

0

The simplest form that would satisfy your otherwise very unspecific request would be this:

{
   "IDL" : "<your thrift IDL blob here>"
}
JensG
  • 13,148
  • 4
  • 45
  • 55