V
V
vitya_brodov2020-11-03 20:55:23
Java
vitya_brodov, 2020-11-03 20:55:23

How to read data from json file and enter on screen?

Hello!
The question is from above.
Googled the topic, but did not find anything suitable (or simply did not understand).
I will be glad if you tell me or share useful links))

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Orkhan, 2020-11-03
@vitya_brodov

Googled the topic, but did not find anything suitable (or simply did not understand).

Most likely you did not know what to look for, because Google and all other search engines are teeming with answers to your question.
Learn terms like DOM Parser, SAX Parser
Learn libraries - Gson, Jackson.
This will be the answer to your question.

D
Dmitry Roo, 2020-11-03
@xez

Solve this problem piece by piece.
1. Find out how to read a file as a string ("java how to read string from file").
2. Find how to convert json string to object ("java how to convert json string to object")
3. Find how to display data on the screen ("java how to write to screen").

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question