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

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -