Saturday, May 4, 2019

java - I have a JSON string with some arrays in it. I want to iterate and get their elements and their values. This is how my file looks like:

{
"results": [{
"statement_id": 0,
"series": [{
"name": "sampleMeasurement1",
"columns": ["time", "disk_type", "field1", "field2", "field3", "field4", "hostname"],
"values": [
["2018-02-28T06:50:35.435Z", null, 12212, 22.44, "thisIsString", false, "server001"],

["2018-02-28T06:50:35.464Z", "HDD", 112, 21.44, "thisIsString1", true, null],
["2018-02-28T06:50:35.497Z", null, 12212, 22.44, "thisIsString", false, "server001"],
["2018-02-28T06:50:35.572Z", "HDD", 112, 21.44, "thisIsString1", true, null]
]
}]
}]
}

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...