Melody Putri

Greenhorn
+ Follow
since Aug 02, 2018
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Melody Putri

Hi,

I'm receiving data in form of JSON Array. Here's the JSON Array that i've received :
[{"FOODID":"Jus Alpukat","PRICE":"7000","NUM":"1","RES":"7000.0","ORDERID_FK":""},{"FOODID":"Ice Cream","PRICE":"5000","NUM":"10","RES":"50000.0","ORDERID_FK":""}]

i need it to be converted into arraylist that will be inserted into JTable into java. I've read about GSON and a few article to do this but i still don't understand. Can you give me example how to do this? thanks.
5 years ago