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

  • 0
    Hello!
    The question is actually from above.
    Googled the topic, but didn't find anything suitable (or just didn't understand).
    I will be glad if you tell me or share useful links))
    Java Anonymous, Apr 9, 2020

  • 3 Answers
  • 0
    Googled the topic, but didn't find anything suitable (or just didn't understand).


    Most likely you didn't 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

    Explore the libraries - Gson, Jackson.

    This will be the answer to your question.
    Anonymous

  • 0
    Googled the topic


    Here is a example .
    Anonymous

  • 0
    Solve this problem piece by piece.

    1. Find 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").
    Fiona Moses

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!