JSON JAVA client to connect server and receive dat

2019-09-13 14:18发布

问题:

I have a sinatra server, I need the client in java that receive data using json from sinatra. I have no idea how to do it.

回答1:

Use Jersey client to get JSON data from server. Use Gson to convert it from JSON to your objects.



标签: java java-me