Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // "[ { "id": ... }, { "id" : ... } ]"
- final List<Map> jsonArray = mapper.readValue(Utils.GoogleRespondToJSON(respond), List.class);
- for (int i = 0, size = jsonArray.size(); i < size; i++) {
- final Map<String, String> jsonObject = jsonArray.get(i);
- final double l_curr = Double.parseDouble(jsonObject.get("l_cur").replace(",", ""));
- final double c = Double.parseDouble(jsonObject.get("c").replace(",", ""));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement