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 
<https://pkg.go.dev/github.com/thrift-iterator/go#ToJSON>.   
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

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/ab06c582-da5c-4bd3-abb5-bdf54cb8ac57n%40googlegroups.com.

Reply via email to