简体   繁体   中英

Write data in JSON file, send JSON file from client to server, read JSON

I have a client/server application, the Client is an Android Application developed with Android Studio and and Server is a classic Java Application.

Here the screens of interested parts:

Client:

在此处输入图片说明

Server:

在此处输入图片说明

Now what i need is that when i click on button "RICHIEDI" in android application (client), the fields Nome and Cognome gone write on a JSON file and this JSON sent to server and then the Nome and Cognome shows in the two jtextfield of the server application, how can i do it? can you help me?

从这里在http://jsonschema2pojo.org/ 中创建您的 json 对象,然后发送到您的服务器,也像这样处理响应

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM