Json Property tag issue




Asked on February 10, 2019
{
"violations":{
"server1":[{metric:1}],
"server2":[{metric:2}],
"server3":[{metric:3}],
"server4":[{metric:4}]
}
}
I will know the values of the servers only during runtime, I am failing when i create POJO with List<Servers>
How to handle this situation




Replied on February 11, 2019
How are you creating POJO and what error are you getting?

Write Answer











©2024 concretepage.com | Privacy Policy | Contact Us