Hi all!
I'm working on a project in golang, where I have to convert a thrift string into json. I came across thrifter package.
thrift-iterator.
Please help me write
1) How to import?
2) Import external dependencies using bazel
3) Also, does thrifter.ToJSON recursively includes other thrift files from the given thrift file.
like:
xyz.thrift file:
namespace
include"abc.thrift"
-
-
Will abc will also be included when converting xyz.thrift file into json, while using thrift.ToJSON.
If there exist some another method to convert thrift into json in golang please let me know.
Please help. Thanks a lot