google-gson

61 views
Skip to first unread message

Siva Guru

unread,
Jan 28, 2019, 1:50:53 PM1/28/19
to google-gson
Parsing JSON Into Java Objects. GSON can pase JSON into Java objects using thefromJson() method of the Gson object. ... The third line calls the gson.fromJson() method which parses the JSON string into a Car object. The first parameter tofromJson() is the JSON source. In the example above the JSON source is a string.
Reply all
Reply to author
Forward
0 new messages