### Question:
QueryResult extends Response { public String getMetric() { return metric; } QueryResult(String metric, Map<String, String> tags, List<String> aggregatedTags,
            Map<Long, Object> dps); String getMetric(); void setMetric(String metric); Map<String, String> getTags(); void setTags(Map<String, String> tags); List<String> getAggregatedTags(); void setAggregatedTags(List<String> aggregatedTags); void setDps(Map<Long, Object> dps); Map<Long, Double> getDoubleDps(); Map<Long, Integer> getIntDps(); Map<Long, Long> getLongDps(); String toString();  }### Answer:
@Test public void testSimpleQuery() { String content = "[{\"metric\":\"aliyun.opentsdb.test\",\"tags\":{\"tagK\":\"tagV\"},\"aggregateTags\":[],\"dps\":{\"1550473214\":100}}]"; List<QueryResult> queryResult = JSON.parseArray(content, QueryResult.class); assertTrue(queryResult.size() == 1); assertTrue(queryResult.get(0).getMetric().equals("aliyun.opentsdb.test")); }