i realize this is an old thread, but for future searchers…
you can also infer a generic and cast the returns of the iterator methods…
Iterator<?> i = jsonList.keys();
while(i.hasNext())
{
String next = (String) i.next();
...
i realize this is an old thread, but for future searchers…
you can also infer a generic and cast the returns of the iterator methods…
Iterator<?> i = jsonList.keys();
while(i.hasNext())
{
String next = (String) i.next();
...