我一直在尝试使用RESTful方法使用Google Transliterate API
所以,我遇到了这种URL格式:http://www.google.com/transliterate/indic?tlqt=1&langpair=en|hi&text=bharat%2Cindia&tl_app=3,它以下列格式返回JSON:
[
{
"ew" : "bharat",
"hws" : [
"भारत","भरत","भरात","भारात","बहरत",
]
},
{
"ew" : "india",
"hws" : [
"इंडिया","इन्डिया","इण्डिया","ईन्डिया","इनडिया",
]
},
]
我的问题是,我如何在android或react-native中使用它作为API FORMAT