java - How to create a POJO with list? -


this structure want create pojo using list only.

{     "firstobj": {         "1": 1684.63,         "2": 1684.63,         "3": 1684.63,         "4": 1684.63,         "5": 1684.63     },     "secondobj": {         "1": 5695.64,         "2": 1684.63,         "3": 1684.63,         "4": 1684.63,         "5": 1684.63     },     "thirdobj": {         "1": 1684.63,         "2": 1684.63,         "3": 1684.63,         "4": 1684.63,         "5": 1684.63,         "6": 1684.63,         "7": 1684.63,         "8": 1684.63,         "9": 1684.63,         "10": 1684.63     },     "fourthobj": {         "1": 1684.63,         "2": 1684.63,         "3": 1684.63,         "4": 1684.63,         "5": 1684.63,         "6": 1684.63,         "7": 1684.63,         "8": 1684.63,         "9": 1684.63,         "10": 1684.63     } } 

this structure getting api call.i want install db. should go pojo or there other way store db? if use pojo then, should create different class? or can 1 class?


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -