How to retrieve output of a JSON request in Java? -
i looking use json interface:
https://translate.yandex.net/api/v1.5/tr.json/translate ?
key=<api key>
& text=<text translate>
& lang=<translation direction>
& [format=<text format>]
& [options=<translation options>]
& [callback=<name of callback function>]
it returns json
object. how json
object in java
?
i know there implementation exact api, it's old , not working anymore.
i've had results using google's gson library. depends on doing json data - rest payload, jms message or what? lot of stuff understands json natively don't reinvent wheel.
Comments
Post a Comment