You should read the documentation of List
and Map
(respective HashMap
) to see how to use them.
Since your List
contains Map
you’ll have to get a Map
using the List
operations and then get the elements from that Map
using the Map
operations:
HashMap<String, String> firstMap = lst.get(0);
String someEntry = firstMap.get("key");
0
solved Get single item from List